S
swapnil.kale
Hi,
I'm stuck in a strange problem in Swing multithreading. Any help would
be appreciated.
In my application / project, <a migrated code through tool> a thread
which is the "main grid" window runs continuously to listen to changes
for the application. The other window whcih is launched through the
main grid creates an alert due to change in the data on the window.
This thread now waits for the next input.
The alert created gets consumed by the main
grid and appropriate action is taken. After this it again waits for
the next event to occur, but once this is done, the main grid gains
the focus as the code completes last in the main grid and not at the
other window where it is expecting the input.
I hope i'm making it explicit. Please suggest me inputs on how can i
regain the focus on the window expecting the next input.
Thanks in advance for the help.
Regards,
Swapnil
I'm stuck in a strange problem in Swing multithreading. Any help would
be appreciated.
In my application / project, <a migrated code through tool> a thread
which is the "main grid" window runs continuously to listen to changes
for the application. The other window whcih is launched through the
main grid creates an alert due to change in the data on the window.
This thread now waits for the next input.
The alert created gets consumed by the main
grid and appropriate action is taken. After this it again waits for
the next event to occur, but once this is done, the main grid gains
the focus as the code completes last in the main grid and not at the
other window where it is expecting the input.
I hope i'm making it explicit. Please suggest me inputs on how can i
regain the focus on the window expecting the next input.
Thanks in advance for the help.
Regards,
Swapnil