Questions tagged as 'jmenu'

2
answers

How to create a shortcut to open a JMenu?

Talk, people know how to create a keyboard shortcuts method to open a JMenu . For example, click F1 or CTRL + "something" and open a screen.     
asked by 31.10.2016 / 00:43
1
answer

Insert a submenu into a JMenu

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...
asked by 07.06.2017 / 22:57
1
answer

Shortcut to main panel via JmenuItem

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...
asked by 19.04.2016 / 18:48
1
answer

How to call a class through another class using JMenuItem? [closed]

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...
asked by 05.06.2016 / 23:48
1
answer

Open Panel via a JMenuItem

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...
asked by 17.04.2016 / 22:12
1
answer

Close screen through JMenuItem

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...
asked by 07.05.2017 / 20:44