hello everybody;
i want to know that how i will open another gui when i click on a button??
thnx
080346
0
Light Poster
Recommended Answers
Jump to PostLike girola said:
--->You can have your class implement ActionListener.e.g public class myclass extends JFrame implements actionListener
{
button1.addActionListener(this);
}
or
dont implement action Listener
Call the:ButtonHandler handler = new Button Handler(); class
button1.addActionListener(handler);
to call another class call its main
All 3 Replies
Dhruv Gairola
-3
Junior Poster in Training
cretaros
0
Junior Poster in Training
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.