Questions tagged as 'java'

0
answers

why can I save the rintong in URI with RingtoneManager.TYPE_RINGTONE? will permit problems?

Occupy Uri uriSoundDefault = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE); SharedPreferences.Editor editor = prefs.edit(); editor.putString("urime",uriSoundDefault.toString()); editor.apply(); to put the default...
asked by 11.11.2018 / 00:33
0
answers

Problem with my JTable Personalized, it does not recognize me when a cell changes its value

I commented to them about a problem that came up, I decided to create a JTablePersonalizado, to facilitate the change of colors of cells, of the heading, that the text is centered, but my problem is that when I obtain, the model of the table, so...
asked by 14.11.2018 / 17:50
2
answers

Java copy ArrayList type INTEGER to array type INT

I need to manage dynamic arrays so I use an arraylist, considering that there is no int type arraylist use an integer type, but in the function I need to use the values of the arraylist, it only accepts INT type, so I need to copy them to a INT...
asked by 09.11.2018 / 19:15
1
answer

Query by the MouseListener and MouseAdapter Java method

I have created a project which contains jtextarea and jlabel , adding to jlabe l the option of transferhandler in order to drag the label and write it in the textarea. My problem is that when I drag this jlabel...
asked by 09.11.2018 / 19:46
0
answers

AbstractMethodError

At the time of uploading to production I get the following error:    java.lang.AbstractMethodError: Method   org / postgresql / jdbc3g / Jdbc3gPreparedStatement.isClosed () Z is abstract I understand that it may be because some abstract m...
asked by 09.11.2018 / 22:40
1
answer

Null Pointer Exception, because when sending values to the parent class Encryption, then the child classes do not receive them to perform the methods

class Encryption {     protected String wordM;     protected String phrase; public Encriptacion(){ } public Encriptacion(String palabraM, String frase){ this.palabraM=palabraM; this.frase=frase; } public boolean setPalabraM(String pa...
asked by 09.11.2018 / 20:33
1
answer

Change the date format in a chooser jdata

I would like to know if they help me, I have a data chooser combo in netbeans and I want to change the format to yyyy-MM-dd because by default unicamnete has the format dd-MM-yy. I'm working on netbeans 8.2 ... I would greatly appreciate your co...
asked by 07.11.2018 / 19:34
0
answers

Pass a value from my database to a select in a form

I am working with JSP, Servlets and SQlite using the MVC pattern, in eclipse. I explain what I'm doing, I have a page that lists a series of records and shows them in a table (all right up there) I am using JSTL, a servlet returns an ar...
asked by 08.11.2018 / 17:58
0
answers

Send different data from a single frame according to the button that is pressed

My question is this, I have several JButton in my interface and I would like to know if it is possible to call the same JFrame with all the buttons. But depending on which JButton is pressed, the data that is generated or saved in the JFrame are...
asked by 08.11.2018 / 01:32
0
answers

UNMARSHALLER ERROR WHEN READING AN XML FILES

CODE: // We create the context indicating the root class in this case Universidad.java JAXBContext context = JAXBContext.newInstance(Universidad.class); //Creamos el Marshaller, convierte el java bean en una cadena XML Marshaller...
asked by 11.11.2018 / 11:24