Questions tagged as 'java'

1
answer

show JTable based on selection JComboBox

I am developing a small application that fills me with a JComboBox based on a ResultSet. But I can not get it to show me a JTable with the results of a select *. To fill the JTable, I am using a mouse event so that when I select the table the JT...
asked by 08.04.2018 / 10:42
3
answers

locate string numbers

I'm trying to do the following: I have a string type this: String req="Intel Core i7-8700K 3.7 Ghz BOX"; String req2="Procesador AMD Ryzen 5 2600X 4.2 Ghz"; What I want is to extract the part that says "3.7 Ghz" and "4.2 Ghz" in a string. T...
asked by 21.05.2018 / 22:13
1
answer

Error entering user in java

I'm working on a project and now I need to create a view from the javafx side, which will be for new user registration but when I try to add it I get the error: "Exception in thread" JavaFX Application Thread "java.lang. RuntimeException: java.l...
asked by 19.05.2018 / 02:01
1
answer

Apache POI read cell format time 00:00:00

Use Apache POI XSSFWorkbook, when reading a cell with format: 12:55 identifies it as numeric and returns Numero(0.010416666666666666) . XSSFSheet datatypeSheet = workbook.getSheetAt(0); Iterator<Row> iterator = datatypeSheet...
asked by 19.04.2018 / 13:44
2
answers

parse string xml

I have the following XML code in a string what I want to do is a parse to print the information but I have not been able to with the following .jar xerces, jdom and jaxp does anyone know of another? or what versions of these might work all throw...
asked by 19.04.2018 / 03:18
1
answer

Receive data from 4 activities in a single activity

I have 4 activities in which I enter data and I want to receive the same data in a single activity . First data logging activity: Intent Register = new Intent(this,Window_Configuracion.class); etConstanteK = (EditText)findVie...
asked by 18.04.2018 / 17:43
1
answer

How to put a jCalendar in a cell of a JTable in Java Swing

I have to place a jCalendar in a cell of a table that I filled with a query from a database, but it has to be with java swing. I am trying it through a mouseclick event, I leave here the one that contains the function. int fila; fila = (In...
asked by 24.03.2018 / 17:00
1
answer

problem with Persistence BDR- BDOR

Hello, I have the following error message: java.lang.NullPointerException at TestGestors.tanca(TestGestors.java:350) at TestGestors.classEnds(TestGestors.java:90) Does anyone know what it can mean? The program is very extensive and...
asked by 20.03.2018 / 12:21
2
answers

Sort matrix ascending and descending

I have a question about sorting an array in ascending and descending order, I have seen the bubble method and I also found something about the 'sort' function but I do not know how to apply it, what should I know about it? I'm taking this now no...
asked by 19.03.2018 / 00:43
1
answer

Massive data upload process in postgresql

I have been researching this and sincerely what I find of information does not convince me (little information, by the way) what I try to do is enter 5000 data in 4 different postgresql tables and I have found that the COPY function works for a...
asked by 16.03.2018 / 21:29