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 43360

Summary: Open Project dialog can get behind main window
Product: projects Reporter: mslama <mslama>
Component: Generic Projects UIAssignee: Petr Hrebejk <phrebejk>
Status: RESOLVED FIXED    
Severity: blocker CC: dkonecny
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

Description mslama 2004-05-17 13:39:23 UTC
Open Project dialog can get behind IDE Main
window. As dialog is modal it is very annoying. I
have RedHat 9/Gnome both JDK 1.4.2_04 and 1.5.0_b51.
Comment 1 mslama 2004-05-17 13:40:31 UTC
Steps to reproduce:
1.Start IDE. (My fresh today build 17 May.)
2.Open Open Project dialog.
3.Click on main window. Dialog gets hidden.
Comment 2 Jesse Glick 2004-05-17 16:49:04 UTC
OpenProject.actionPerformed calls chooser.showOpenDialog(null). Should
be passing in the main window as a parent.
Comment 3 Petr Hrebejk 2004-05-18 10:00:23 UTC
MainWindow made parent of the OpenProject dialog.
Comment 4 David Konecny 2004-05-20 17:59:00 UTC
I have similar problem in my code which I filed as issue 43640 against
winsys because I do not know what is wrong. Any advice welcome.
Comment 5 Petr Hrebejk 2004-05-24 11:51:34 UTC
If you are creating the dialog just give it proper parent. (E.g.
WindowManager.getDefault().getMainWindow() or something like that)