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 20029 - getCustomEditor() called twice
Summary: getCustomEditor() called twice
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: David Strupl
URL:
Keywords: PERFORMANCE
: 20569 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-02-01 09:51 UTC by Tomas Pavek
Modified: 2008-12-23 13:37 UTC (History)
2 users (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 Tomas Pavek 2002-02-01 09:51:15 UTC
When ... button in property panel is pressed, PropertyEditor.getCustomEditor() 
is called twice - creating two instances of customizer, but only one is used. 
This is not serious, but would be nice to call it only once.

Stack traces:

...
at org.openide.explorer.propertysheet.PropertyPanel$CustomizeListener
.sheetButtonClicked(PropertyPanel.java:1675)
at org.openide.explorer.propertysheet.SheetButton
.notifySheetButtonListenersAboutClick(SheetButton.java:427)
at org.openide.explorer.propertysheet.SheetButton$IL.mouseReleased
(SheetButton.java:498)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Component.java:3715)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:914)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)


...
at org.openide.explorer.propertysheet.PropertyDialogManager.<init>
(PropertyDialogManager.java:103)
at org.openide.explorer.propertysheet
.PropertyPanel$CustomizeListener.sheetButtonClicked(PropertyPanel.java:1685)
at org.openide.explorer.propertysheet.SheetButton
.notifySheetButtonListenersAboutClick(SheetButton.java:427)
at org.openide.explorer.propertysheet.SheetButton$IL.mouseReleased
(SheetButton.java:498)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Component.java:3715)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:914)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Comment 1 Tomas Pavek 2002-02-01 09:52:30 UTC
The stack traces are from dev build 20020128.
Comment 2 David Strupl 2002-02-01 12:48:28 UTC
PropertyDialogManager 1.50
PropertyPanel 1.96
in trunk.
Comment 3 Marian Mirilovic 2002-02-08 15:13:42 UTC
Tomas, can you verify this issue ?
Thanks in advance.
Comment 4 Tomas Pavek 2002-02-11 11:00:34 UTC
Verified in dev 200202060100.
Comment 5 Marian Mirilovic 2002-02-18 14:19:40 UTC
*** Issue 20569 has been marked as a duplicate of this issue. ***
Comment 6 Rochelle Raccah 2002-02-22 17:22:07 UTC
This is causing a serious regression in 3.3.1 based editors.
Comment 7 Petr Hrebejk 2002-03-26 16:20:47 UTC
Patch applyied to orion_fcs branch
Comment 8 Quality Engineering 2003-07-01 16:33:03 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.