Questions tagged as 'jframe'

0
answers

How to do Jframe with JmenuBar calling another JFrame?

Hello, I have a main class that is working but at the time of clicking on the Registration menu and then client it does not call the other JFrame screen CustomerContentUI. Here is the snippet that was to call the other JFrame that is implemen...
asked by 02.03.2017 / 20:16
1
answer

Refresh in jframe automatically

I will start a project where I will control queues in java, even normal queues, as if you arrived at the bank and saw the name on the screen. I'll give you a summary of the project to be clearer. I have 10 computers, each one belongs to on...
asked by 27.06.2016 / 16:32
2
answers

Call another class (Java)

How do I call a "class" of type jFrame for example from my main class? My jFrame has its own main that gives the setVisible true for it to appear, however I wanted to access this main from my main class, so I can setVisible through the main one...
asked by 05.06.2016 / 05:53
1
answer

Add Background to a GirdBagLayout

Good afternoon folks, here I'm trying to add a background image inside a GridBagLayout but I can not. Could some charitable soul help me? Follow the Code > package View; import java.awt.Dimension; import java.awt.GridBagConstraints; imp...
asked by 29.01.2016 / 12:42
1
answer

Error when setting template in JTable

So I was developing a frame that received a table from the database, I used the same scope of the function several times and it worked perfectly, I just modified what was necessary to generate the table the way I wanted it in that case and starte...
asked by 06.12.2016 / 20:34
1
answer

How to call a JFrame from another JFrame with different classes

I am creating a little game of stone paper and scissors and I would like to know how I call JFrame of another JFrame , except that of different classes. Or maybe I should do it in different methods? I tried to do it here but it alwa...
asked by 15.03.2016 / 05:55