Hey,
From what I understood what you wish to achieve is that the UI
should continue to repaint but the user should not be able to interact with it
while you complete your task?
You can -
a) Show a modal dialog that says "Please Wait" or shows a
progress bar preferably with a cancel button - this dialog disappears on the
completion of your task. (I think this is the
b) Disable all input event dispatching until your operation
concludes by replacing the EventQueue with your own.
c) A harder way to achieve this is to have the glass pane take
focus, block mouse events and disable all menus.
Does this help?
Regards
Sachin
|
Title: suspend the awt thread
- suspend the awt thread Deblauwe, Wim
- Re: suspend the awt thread Sachin Hejip
- Re: suspend the awt thread Sachin Hejip
- RE: suspend the awt thread Deblauwe, Wim
- Re: suspend the awt thread Sachin Hejip
- Re: suspend the awt thread Sachin Hejip
- RE: suspend the awt thread Deblauwe, Wim
- Decent browser component? Frank D. Greco
- Re: Decent browser component? Sachin Hejip
- Re: Decent browser component? Frank D. Greco