Best Way to Switch Between JPanels?
807589Oct 29 2008 — edited Oct 29 2008Okay I have a JMenuBar in my Application, and on the click of a JMenuItem, I want to switch between panels in my program. Which is the easiest way to do this so that I dont have to use a new JFrame for each option. I just want to change the "active" JPanel. Similar to a JTabbedPane, but without the tabs, would rather navigate with a JMenuBar. Regards