0

I am trying to extend a JPanel when a button is pressed in Java. I have a called ButtonMaker that extends a JPanel with a button on it. When the button is pressed, I want to extend a new JPanel. How do I extend the new JPanel in the actionPerformed method in the action listener of the JButton?

0 Answers0