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 69942 - Window selector has problems with "Welcome" window.
Summary: Window selector has problems with "Welcome" window.
Status: CLOSED DUPLICATE of bug 68291
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-06 14:37 UTC by ngbrito
Modified: 2008-12-22 19:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Zipped screenshots (176.26 KB, application/x-compressed)
2005-12-06 14:38 UTC, ngbrito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ngbrito 2005-12-06 14:37:15 UTC
As can be seen in the attached screenshots, the "Welcome" window appears as an
empty slot in the window list displayed when you press the window selector
button (the down arrow at the top right corner of the editor window).
Even worse than that is the fact that sometimes when you select that empty slot
you get the following exception:

java.awt.IllegalComponentStateException: component must be showing on the screen
to determine its location
	at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1678)
	at java.awt.Component.getLocationOnScreen(Component.java:1652)
	at
javax.swing.plaf.basic.BasicToolBarUI$Handler.mouseReleased(BasicToolBarUI.java:1123)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


This doesn't happen always but when it happens I have another window selected
(see screenshot2) when I choose the empty slot.

My setup is:
NetBeans IDE 5.0 Beta 2
NetBeans Mobility Pack 5.0 Beta 2
NetBeans Profiler Milestone 10
Comment 1 ngbrito 2005-12-06 14:38:58 UTC
Created attachment 27590 [details]
Zipped screenshots
Comment 2 Marian Mirilovic 2005-12-08 13:55:19 UTC
Already fixed in last NB 5.0 build.

*** This issue has been marked as a duplicate of 68291 ***
Comment 3 ngbrito 2006-01-18 01:48:43 UTC
I confirm that it is a duplicate of issue #68291. I also confirm that it has
been solved in NetBeans IDE 5.0 RC1. Closed it.