hello; i have gui on which i have a button of ADDMEMBER and this is in my package of Member; now i want to open another gui from another package of LIBRARY; how i will do it??
i have searched it alot kindly answered me ....
Thnx
080346
0
Light Poster
Recommended Answers
Jump to Postwhat do you mean by gui? is it a frame/window?
Jump to PostWell, you need to make a frame, as you would in your main method (how you made the origional frame) and setVisable(true)
JFrame frame = new JFrame("a new frame"); frame.add(new JLabel("heya")); frame.setVisable(true);
should do it
All 5 Replies
hanvyj
7
Posting Whiz in Training
080346
0
Light Poster
hanvyj
7
Posting Whiz in Training
080346
0
Light Poster
hanvyj
7
Posting Whiz in Training
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.