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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.