Questions tagged as 'jframe'

1
answer

update jTable in jFrame from another jFrame

I am new and I have no experience but I am starting to create my query application, I have a jframe where I show a jtable with the result of a query, when I click on a line of the jtable I keep in a variable the data to look for and show it in a...
asked by 04.06.2018 / 21:10
0
answers

How to move with the keyboard a figure created by code?

I created in Java a bitmap image that I want to move using the arrows on the keyboard. The image is saved inside a panel, do I have to move that panel? Or as I do because all the tutorials I see come with variable dimensions and my figure is not...
asked by 31.05.2018 / 04:41
0
answers

How to pass data from two Jtables to a form?

I want a form to be fed from two tables but it happens that I select the data of a table and when selecting those of the second, the ones of the first one are deleted ... my selection code is the following for one of the tables: Location ub = ne...
asked by 02.06.2018 / 19:46
0
answers

JLabel on JFrame

I have a Minesweeper with a JMenu at the top and a GridLayout that is the Minesweeper, but I would like to add a JLabel at the top and I do not know how. I've tried it but it shows me below I leave code and photo. public Buscaminas(Contro...
asked by 27.05.2018 / 11:01
0
answers

File .form missing? Netbeans Java

I have a project where at the time I generated a GUI with a form. The problem is that after exporting it the .form file has disappeared and is nowhere to be found on my computer. I still have the code with all the jframe and its components, and...
asked by 23.05.2018 / 21:24
0
answers

HELP ERROR: java.sql.SQLException: Column count does not match value count at row 1

Thanks to friend Ivan Clavijos for helping me earlier, now another error comes out but this time I do not know why it comes out: May 22, 2018 4:49:21 PM windows.inscriptions btn_guardarActionPerformed SERIOUS: null java.sql.SQLException: Column...
asked by 22.05.2018 / 23:29
2
answers

ResultSet error "Can not find symbol"

I recently worked with a code that connects to a database in mysql. Its functionality is to insert data to the previously created table and then with a button to give functionality to empty TxtField in Jframe to refill. The error is shown to...
asked by 15.05.2018 / 08:17
1
answer

Java Classes and vectors an invoice

I am new to java, we are doing a job on invoicing where we have to create the class and forms, in each form the information is placed either of the client, employee and others as required and when going to the invoicing form we should to be able...
asked by 27.04.2018 / 20:36
0
answers

Load an lwjgl.opengl.Display in javax.swing

I have a Display object from the java lwjgl library: link the one that I have some 3D objects loaded, and I update the display every frame in the following way: In a class created by me, called DisplayManager: public static void updateDis...
asked by 26.04.2018 / 17:46
1
answer

I would like to know how to go from one frame to another, executing the main of the other frame?

I would like to know how I go from one Jframe to another, executing the main of the other Jframe? I have an input on the jframe that I want to open from the Jframe home, I open the following way the Jframe Jframe2 abrir =new Jframe2(); abr...
asked by 01.04.2018 / 18:52