Questions tagged as 'netbeans'

1
answer

"Can not format given Object as a Number" when displaying JTable

Greetings, I have a problem when showing the contents of a database in a JTable table, in a .java project using netbeans. I tried to observe the output of the column with which I get an error, it is the 5th column a data of type Float, the 4t...
asked by 22.04.2017 / 23:29
1
answer

Problem accessing the Access Database with UcanAccess in Java

I am with a simple project, learning to create, modify and access databases from Netbeans with Java . They force me to use a Microsoft Access database, and I know there are problems accessing them from Netbeans version 8 . I am using the...
asked by 26.01.2017 / 23:27
2
answers

How to convert an image to an array of bytes in java?

I'm trying to convert an image to an array of bytes in java to save it in a database, I used several methods to perform the conversion, and you could say that if it does, but it always returns a small part, this one of the codes that I have occu...
asked by 08.10.2016 / 01:11
1
answer

Problem executing c ++ code in Netbeans "Debugger error: During startup program exited with code 0xc0000139."

I am programming a simple code in C ++ with NetBeans. The code compiles me well in NetBeans and in other environments (Dev C ++) it works. However, when running in Netbeans I get the following error:    RUN FAILED (exit value -1.073.741.511,...
asked by 12.07.2016 / 09:50
1
answer

How can I get data from a table in a database and store it in variables? (Java)

Friends I need to obtain the information of the fields of a database and store them in variables to later manipulate them, I have been searching the internet and I found the following sentence: ResultSet resultado = (ResultSet) sentencia.execu...
asked by 19.10.2018 / 01:38
1
answer

I do not run a program with Java fixes correctly

public class AlumnosA { String [] alumnos = new String[2]; int []calificacion = new int[2]; String []letra = new String[2]; String a; int c; String estatus; String cal; public void alumno(){ Scanner tecl...
asked by 19.09.2018 / 05:22
1
answer

Open Jframe with click on Jtable (Netbeans)

I am generating a Jtable that has several data, however I need to click on the first cell of each row to open a new Jframe, I have tried with events, but I can not generate it to work specifically there .... So I need to select Registration numb...
asked by 01.10.2018 / 16:21
2
answers

How to evaluate conditionals in JAVA in this exercise?

I have a problem with this exercise. (Attachment enunciated) The owner of a parking lot requires a program that allows him to determine how much you should charge for the use of parking for your customers. The rates that are had are the fol...
asked by 02.11.2018 / 01:15
1
answer

Check if employee already exists

I am inserting data into a table in an Oracle sqldeveloper database and I want to check some things like (that the employee number already exists or that it is not entered correctly, that the boss does not exist, that the salary> 0, and that the...
asked by 22.06.2018 / 09:47
1
answer

How to add a converter (GSON) to retrofit in netbeans for javaFX project?

As you already read above, I am trying to configure a converter to retrofit , all this in netbeans, for android it will be used and there it will be added with Gradle and in netbeans with maven but at the time of doing the class w...
asked by 21.04.2018 / 20:49