When I click on the woman or man icon in JFrame , it is called a JPanel where I enter the data as weight and height. But when I click save, I can not call another JPanel to show the result of the calculation, since I'm alread...
I'm working on eclipse Mars 2.0 , where I use the windowBuilder , and I'm not able to link the shortcut: Consultar -> Dia (mntmDia) to main page panelConsultarDia , or either when people want to change the day they are entering...
I have two classes in the same package, one called Calc, which is a simple calculator, whose code is below:
public Calc(){
super("Calculadora");
Container tela = getContentPane();
setLayout(null);
JLabel rotulo1 = new JLabel("1 numero: ");
JL...
I need to know how I can JMenuItem open JPanel , that is, by clicking JMenuItem , open the corresponding JPanel, this in Eclipse, through windowBuilder.
This is the image of my screen with the menu:
Image of the screen...
I'm doing a simple system of registering students and teachers and wanted to interact with a JMenuItem called exit , the program closed.
I made the whole algorithm, but with that exclamation informing me that my ActionPerformed method...