Ok so I am writing this GUI menu and one of the choices on the menu requires the user to log in. So I open a new window that prompts the user for a username password. However after the user inputs the information how do I just close the window? I don't mean exit the program but just close the GUI window. Or when user hits the cancel button I just want to close the window
akaicewolf
0
Newbie Poster
Recommended Answers
Jump to Postwhat GUI
- Swing/AWT
- SWT
- another Java GUI
Jump to PostsetVisible(false);
hide();
..
there are a few methods that come in handy that you can use
All 5 Replies
jaikiran_cool
-6
Newbie Poster
stultuske
commented:
there 's a huge difference between java and javascript, make sure you know what you are offering as answer
-2
mKorbel
274
Veteran Poster
akaicewolf
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
mKorbel
commented:
show/hide is long time died
+9
hfx642
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.