i want to know that how i will open another gui when i click on a button??
Jump to Post
Like girola said:
--->You can have your class implement ActionListener.
e.g public class myclass extends JFrame implements actionListener
dont implement action Listener
ButtonHandler handler = new Button Handler(); class
to call another class call its main
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.