JFrame contains ToolBar with a JButton, press button put an existing panel on frame

96 Views Asked by At

It's been 13 years since I last worked with Java and I'm lost. Someone please toss me a life saver.

I want to add the JPanel requesting the address to display on the JFrame by adding it from a JToolBar. Each component is in a separate class.

Question is, the button is on a toolbar and the panel I want to add is a separate class. Any ideas?

enter image description here

enter image description here

0

There are 0 best solutions below