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 47840 - SDI: Updating indices dialog is centered on main window
Summary: SDI: Updating indices dialog is centered on main window
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on: 49467
Blocks:
  Show dependency tree
 
Reported: 2004-08-24 22:00 UTC by _ tboudreau
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2004-08-24 22:00:51 UTC
On startup in SDI mode, the updating indices 
appears centered on top of the main window - 
which is up at the top of the screen.  It's a 
little weird.
Comment 1 Milos Kleint 2004-09-21 14:54:08 UTC
not only it's ugly, it's also wrong to parent the dialog to main
window explicitly. When cloging the dialog, the focus is transfered to
the main window (as it's its parent) and not the currently selected
and focused component.
related bug reports (not exclusively the dialog's fault but I'm about
to fix the other winsys related issues soon)
#48915,#48818

please use DialogDescriptor APIs to create your dialog. The code in
core takes care of proper parenting of the dialogs.
Comment 2 _ tboudreau 2004-09-23 02:45:02 UTC
Another problem with this dialog is that it fronts the main window.  If I start NetBeans, and 
then switch to a console or web browser while the IDE starts up, as soon as the scan is 
done, NetBeans jumps on top the window I'm working in.
Comment 3 Jan Becicka 2004-09-23 06:24:29 UTC
I'll use DialogDisplayer.
Comment 4 Jan Becicka 2004-09-24 09:50:04 UTC
Fixed.

  User: jbecicka
  Date: 04/09/23 06:47:49

  Modified:    javacore/src/org/netbeans/modules/javacore
                        ProgressPanel.java UndoProgressListener.java
                        UndoProgressPanel.form UndoProgressPanel.java
  Log:
  #47840: SDI:  Updating indices dialog is centered on main window
  DialogDescriptors used
Comment 5 Quality Engineering 2007-09-20 09:51:32 UTC
Reorganization of java component