Question:

Java Swing : How to close overlapped windows and return to the previous one?

by  |  earlier

0 LIKES UnLike

How to close overlapped windows and return to the previous-state window one without having to exit the entire program? (Let's say when we have the 'cancel' button clicked)

And how to freeze the previous windows when working on the current windows, so that we can't have access to those previous windows?

THX!

 Tags:

   Report

1 ANSWERS


  1. If you open a modal window/frame, it will freeze the other ones, like how JOptionPane works.

    Call JFrame.close to close other JFrames.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions