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 58293

Summary: The Fix Imports dialog loses focus
Product: java Reporter: Jiri Prox <jiriprox>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Jiri Prox 2005-04-25 16:20:40 UTC
NB 4.1 (200504241930)

Steps:
1) Open Fix Import dialog (e.g. after typing Vector v = new List(); and fixing
imports)
2) click to another application to lose focus
3) click in taskbar to the NetBeans 

The dialog stays on background behind the main window, but it is modal, so any
changes can not be performed in the main window.
Comment 1 Martin Matula 2005-04-26 09:14:01 UTC
Dan please look at it. Anyway, my feeling is this is a general problem with
NetBeans - I remember it happend to me with other modal dialogs. Dan, please
check if you are using DialogDisplayer properly.
Comment 2 Daniel Prusa 2005-09-20 15:37:05 UTC
Fixed in trunk.

/cvs/java/editor/src/org/netbeans/modules/editor/java/FixDuplicateImportStmts.java 
new revision: 1.10; previous revision: 1.9
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaFixAllImports.java
new revision: 1.16; previous revision: 1.15
Comment 3 Jiri Prox 2005-10-17 13:45:26 UTC
verified
Comment 4 Quality Engineering 2007-09-20 09:55:47 UTC
Reorganization of java component