On Apr 2, 12:07 pm, Knute Johnson <nos...@rabbitbrush.frazmtn.com>
wrote:
Bojan wrote:
Hi,
I created a Java application that has a Progress window while it is
loading. Using multithreading I have managed to create one and it
works fine. What i want is for the main window to focus on the
progress window all the time. In other words I do not want you to be
able to see the main window by-itself whent he progress window is
open. I am using JFrame for both of the windows.
How can I do this?
Thanks in advance
setVisible(false)
--
Knute Johnson
email s/nospam/knute2009/
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
I dont think you understood what i want. I want the Progress Bar to
be always on top. I have read that I could create an event listener,
and when it is toBottom(), make progress bar jump back on top using
toFront(); I have not tried this yet, since i am worried about other
windows that are not part of the application.
Is there any simpler way?
Use a modal dialog.