Help about Java Menubar
Hello i want to do java menu programming.
i have one menubar that contain two menus .
each menu contain two menu item.
i have designed 4 panel for 4 menu items.
when i click the menu button the panel would dispay in main frame.
i dont know to make link menu items and panel.
my main frame contain one menu bar only.
advance Thanks for ur valuable suggestions
Take one step at a time and have a try. db gives a nice start to you.
Your JMenuItem's are a subclass of JButton. You need ActionPerformed listeners for each one. The listeners should update the GUI.
Better to show your effort on this Mak. Then we can help you a lot.
make sure that you have added the menubar to the menu.