This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 31748

Summary: Focus is not returned to editor when closing editor
Product: platform Reporter: Martin Roskanin <mroskanin>
Component: Window SystemAssignee: mslama <mslama>
Status: CLOSED WONTFIX    
Severity: blocker CC: mmirilovic, pzavadsky
Priority: P3 Keywords: FOCUS
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description Martin Roskanin 2003-03-06 14:35:07 UTC
Open several files in editor. Close one of them.
The editor stay focused but the caret is lost -
the editor doesn't receive focus gained event.
Comment 1 mslama 2003-03-14 10:55:01 UTC
I investigated: When I close editor using Ctrl-F4 newly activated
TopComponent (another editor) does not receive FOCUS_GAINED event on
JDK 1.4.1_01 even if requestFocus() is called on activated
TopComponent. I asked AWT team and they say it is issue #4648816. It
is fixed already in JDK 1.4.2_b18 so I suggest to close this issue. (I
checked and it works fine.)
Comment 2 Martin Roskanin 2003-07-10 15:42:55 UTC
*** Issue 33585 has been marked as a duplicate of this issue. ***
Comment 3 Marian Mirilovic 2003-07-28 16:22:26 UTC
Marek is right - verifying, closing.