Hello everyone.
I am working on JFrame and i was wondering if i could somehow close the frame and then reopen it -whith a different contxet- using a loop.
sudtuwup
0
Newbie Poster
Recommended Answers
Jump to PostWhat do you mean from a different context?
To close:
System.exit(0);
To open:Just create an instance
Jump to Postwhat context?
And don't close your frame with System.exit(0) as that will terminate the entire JVM and thus stop the application dead in its tracks.
All 5 Replies
server_crash
64
Postaholic
sudtuwup
0
Newbie Poster
jwenting
1,889
duckman
Team Colleague
server_crash
64
Postaholic
sudtuwup
0
Newbie 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.