Questions tagged as 'java'

1
answer

I have an error showing data in a Grid

I'm working with Java Spring , hibernate and maven and when I see the data in a grid I get this error:    SyntaxError: JSON.parse: unexpected end of data at line 1 column 147704 of the JSON data. But it only comes up when I add data...
asked by 12.09.2016 / 16:30
1
answer

JList does not fill up when I open a window

I have two windows, one that I open from the other. This is VistaAlbumesBuscar : public class VistaAlbumesBuscar extends JFrame implements ActionListener{ /** * Componentes de la ventana */ private Coordinador miCoordinador; privat...
asked by 22.05.2016 / 10:48
1
answer

variables of an array with the same name

I have 2 arrays in Java with different Array names (sender and recipient), but the variables within the arrays are the same (account_number, product_id, external_id, simulation, recipient_sms_notification, sender_sms_notification), when declarin...
asked by 11.05.2016 / 17:52
1
answer

Compare enum in java

How are you? I'm doing a small project, but I'm stuck in this part. Use a stringtokenizer to separate a text file and use a class enum to assign the tokens the value with regular expressions. That's fine, but I need to evaluate when...
asked by 07.05.2016 / 02:07
2
answers

ValueMember and DisplayMember in Java ComboBox?

I have a JComboBox in Java, where I show a list of employees, result of a Query, I store it in a ResultSet and I want it to be that when it is selected, I take the ID and not the name, unlike C # , Java does not have a tool like Displa...
asked by 22.04.2016 / 23:40
1
answer

Performance issues in a NumberPicker

I have a NumberPicker that loads approximately 6000 records. When you try it in api > 20 your answer is not more than 2 seconds but when you test it in a api < 19 your answer is 15 seconds or more. I want to know if...
asked by 20.04.2016 / 15:46
1
answer

How to get the largest number of a java method?

I have to create a system that can calculate the sea temperature according to the month, using an initial month, initial temperature, and the month of which I want to know the reference temperature. In certain months the temperature rises and in...
asked by 01.10.2016 / 21:05
1
answer

Null longitude and latitude when wanting to obtain them

I have a class where it is assumed that you get the longitude and latitude but when you want to get it from my service, I send it in 0.0 I searched for the answers they give me, the code does not work here. GPSTracker.java package com.andro...
asked by 27.09.2016 / 21:14
1
answer

Error: A JNI error has occurred, please check your installation and try again

I have the following exception: how could I resolve it? Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException at java.la...
asked by 03.10.2016 / 21:48
2
answers

Problem to login in android studio using KSOAP

I am developing a mobile application in Android Studio consuming from a WebServices made in asmx. Only when I run my app and enter the username and password send me an error    E / Response: Error: Can not create handler inside thread that ha...
asked by 13.04.2016 / 19:48