S
Sameer
The dialogs created with JOptionPane are modal dialogs
and each showXxxDialog method of JOptionPane blocks the
current thread until the user's interaction is complete.
But how to make them to be always on top of the owner?
I have got a problem related to this functionality:
In my Chat Application the owner of a dialog is a frame.
Suppose that the close button of the frame initiates a dialog and
when this dialog is active, another event happens which let the
frame got the focus, in this situation, the dialog disappers (goes
behind the frame) and frame was not in a position to receive any
input though it has focus.
Please suggest remedy for the same.
-Sameer
and each showXxxDialog method of JOptionPane blocks the
current thread until the user's interaction is complete.
But how to make them to be always on top of the owner?
I have got a problem related to this functionality:
In my Chat Application the owner of a dialog is a frame.
Suppose that the close button of the frame initiates a dialog and
when this dialog is active, another event happens which let the
frame got the focus, in this situation, the dialog disappers (goes
behind the frame) and frame was not in a position to receive any
input though it has focus.
Please suggest remedy for the same.
-Sameer