Questions tagged as 'eclipse'

1
answer

Update data of a column in JTable without affecting the other data

Good morning. maybe it's something very simple, is there any way to update the data of a column by means of a button? this without affecting the other data of other columns. As you can see in the image, the purpose is to change all the data i...
asked by 15.09.2017 / 18:18
1
answer

I need to keep saving different results of the same formula

Hello good afternoon, I am new to this and for a university project I found myself in need of a bit of basic programming. I'll paste the script and then relatare what I need. import java.util.Scanner; public class ModosNormales { public s...
asked by 09.10.2017 / 23:50
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
2
answers

When in.close () is used; of the Scanner class?

I am trying to compile the program to know if it is even or odd and I get an error "Resource leak: input never close", where it is recommended to close the Scanner? package pares; import java.util.Scanner; public class Pares { public stati...
asked by 16.05.2017 / 02:42
2
answers

Problem with Java scanner

Good morning, I'm doing a small project to work with hospital patients. My problem arises when I want to receive data by keyboard. What code do I have? _ //Get nombre System.out.println("Introduzca nombre del paciente");...
asked by 31.03.2017 / 20:32
2
answers

Can I use blob data with Bundle on Android?

I have to upload images to a database (with blob ), but it receives the data from Bundle , I have tried several things and I get an error due to the type of file I try to upload and I would like to know if you can use Bundle i...
asked by 27.07.2017 / 13:48
4
answers

The cycle for does not work for me [closed]

For some reason the cycles for does not work for me in eclipse luna, update the jdk but it's still the same, this is the simple code public class main { public static void main(String[] arg) { System.out.println("inicio"); for(int i =...
asked by 02.10.2018 / 07:00
2
answers

Delete a class but java keeps finding it

As the title says, I initially had the class PantallaConsultaPaciente , then I created the class PantallaConsultaPaciente2 and eliminated the previous one, but when I run the application from Eclipse, I still raise PantallaConsul...
asked by 06.09.2016 / 16:47
1
answer

Error 405 HTTP method POST is not supported by this URL

I'm doing a web application (JSP) with eclipse with the google app engine plugin and it throws me an error when I press the send button:    "Error 405 HTTP method POST is not supported by this URL" I've tried with "get" and if it works, b...
asked by 02.02.2018 / 19:34
2
answers

JPA Key composed for .find () [closed]

I have an entity with compound keys, how can I do the .find () Obj p = XPersistence.getManager().find(Obj.class, ??clave)??; p.setCampoDesc("hola"); XPersistence.getManager().getTransaction().commit(); the class has @Id @Column(...
asked by 28.03.2018 / 13:17