Link to home
Start Free TrialLog in
Avatar of raffael
raffael

asked on

Modal JWindow without(!!!) further processing in the disabled JFrame?

Hello,

Goal:
Modal Window without title and compatible to SDK 1.3. (so no setUndecorated(true)) ?

Part of the Solution:
Disable the orignial window (the window from which the modal window is opened) using setEnabled(false).
until then there is no problem.

But the orignal window doesn't stop processing as if you would actually use a modal JDialog!

So the question is:
How to stop further processing within the orignial window from within the opened modal window?

Best regards, Raffael Vogler
Avatar of membersh
membersh

a bit confusing. The default behavior of modal dialog is that it stops calling window's processing. U want to stop processing or continue processing from Modal window ??
Avatar of raffael

ASKER

If I say modal window I mean a JWindow that effectively behaves like a modal JDialog.

I derive a class from JWindow and provide a public static method to open the modal (J)Window. But if I call this static method twice there are (of course) two modal (J)Windows at the same time. To prevent the second window from opening before the first has been closed I want to stop further processing in the original window, from which the two modal (J)Windows have been started.

Best regards, Raffael Vogler
ASKER CERTIFIED SOLUTION
Avatar of membersh
membersh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
raffael:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept membersh's comment as answer.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thomas Boshell
EE Cleanup Volunteer