This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
Problem with opening new JPanel when separated into different classes
posted 15 years ago
I have put my JPanels into separate classes for ease of maintainability. Now I am having problems using the actionevent to get the new panel to come up. How do I do this? I am trying to open up the jPanel from the class NewPanel from the actionevent located in class Frame1. Thanks for your assistance. Code:
[This message has been edited by Stacy Eleuterius (edited March 14, 2001).]