Questions tagged as 'java'

1
answer

Selecting a Jtable - Java

When I select a row, everything is selected but the cell that I select at the edge appears a few dots, as I could remove them or modify them. The property of the JTable that I use to select the whole row is: rowSelectionAllowed    ...
asked by 02.03.2017 / 22:10
2
answers

Define onClick on a BaseAdapter

This is a question that I have searched for on this page, but the solutions that I have been finding, I have implemented them, but they have not worked for me, and they will appear commented on in the code, to see if something escapes me or any...
asked by 30.10.2016 / 22:08
1
answer

Date and time with JCalendar and send it to a database with datetime field

How to store a date and time with JCalendar and send it to a database with datetime field?     
asked by 27.10.2016 / 23:26
0
answers

FileOutputStream error when generating a PDF on NetBeans

I am working on a project where I use itext and fileoutputstream to generate a pdf , but when I import the library java.io I get an error:    can not find symbol class FileOutputStream How can I correct this error? A...
asked by 31.10.2016 / 07:03
0
answers

Simple example of volley on android? [closed]

Does anyone have a simple example of an app using volley in android studio? I have googled a lot but all the tutorials I have tried are error, nullpointerexception, etc, I just want you to return a string of some file in a server or a list to un...
asked by 29.10.2016 / 00:21
0
answers

I try to create a category filter with Spinner

I am working on an application that works as a city guide. It takes the data from a MySql database, it is divided by categories of each thing. But I wanted to try to do it also by zones. I do not know if you understand. It would be like apply...
asked by 28.10.2016 / 22:56
1
answer

XML Parcing With JDOM

Good I am trying to show the content of an XML through the JDOM library, but apparently it is not showing me the sub-nodes of a certain field of the XML file, I do not know if the solution I am trying to implement is quite new in this parceo of...
asked by 28.10.2016 / 01:34
0
answers

How to correctly compare the getPassword method of a jPasswordField [closed]

Good afternoon, It turns out that today I was doing a login form with java for the first time. To recover the password I was going to use the getText () method, but I have seen that it is in disuse since it returns a String and that would...
asked by 30.04.2017 / 19:22
2
answers

How can I get all the data from a JSON on Android?

I'm doing an android application which queries a database to get the name of several sports. The query I do is the following: if($resultset=getSQLResultSet("SELECT etiqueta_nombre from sdo_v_etiquetas_espacios GROUP BY etiqueta_nombre")){...
asked by 27.04.2017 / 13:16
1
answer

CardView Android studio and Spinner

Hello friends, I have a problem with the cardview and a spinner of quantities from 1 to 10 for example: The cardview number is 17 I select a spinner number and it is set correctly and when I scroll The spinner amount is selected in card...
asked by 10.05.2017 / 18:06