Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to keep focus unchanged in popup window while refreshing Parent window

user5676197Nov 28 2012 — edited Nov 30 2012
I have a parent window (frame) and there are 3 JTables on it. The 3 JTables are binded with model so that when the data in model changes, the JTable will be refreshed automatically. The problem is on the gui, it can pop-up a dialog window. While the popup window is open, the JTables on the parent window could be refreshed by incoming data through other threads. In the case the parent window is refreshed, the cursor focus on the pop-up window is lost, which is quite annoying. Is there any way to keep the focus not changed?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 28 2012
Added on Nov 28 2012
1 comment
516 views