loading a JFrame Form from a button in a JPanel
Posted on 2005-03-08
hi, I have a small java application that contains a JPanel. In the JPanel I have a JButton. I also created a JFrame Form using NetBeans. Now I have added the ActionListener in my JPanel and all I want to do is when I click on the button in the JPanel, I load the JFrame form. Right now I system.out.println a msg so the event handeling is working okay. I just wanna know how to instantiate the JFrame and make it visible. Any ideas?