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.
I've extended my custom property editor from JDialog, because I need IDE to use my non modal dialog. When I use Customize Dialog to test my bean, the custom property editor is successfully invoked when I click the button on the desired property value. But after I've added my bean to the Component Palette, placed it on the panel in IDE and opened Properties of MyBean dialog, my custom property editor is not invoked when I click the button. The following error is generated in Forte4j error log: Exception occurred during event dispatching: java.lang.IllegalArgumentException: adding a window to a container at java.awt.Container.addImpl(Container.java:336) at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:445) at javax.swing.JTabbedPane.addTab(JTabbedPane.java:512) at org.netbeans.modules.form.FormCustomEditor.<init> (FormCustomEditor.java:138) at org.netbeans.modules.form.FormPropertyEditor.getCustomEditor (FormPropertyEditor.java:223) at org.openide.explorer.propertysheet.PropertyDetails.getPropertyCustomEditor (PropertyDetails.java:459) at org.openide.explorer.propertysheet.PropertyDisplayer$CustomPEListener.sheetButto nClicked(PropertyDisplayer.java:861) at org.openide.explorer.propertysheet.SheetButton.notifySheetButtonListenersAboutCl ick(SheetButton.java:362) at org.openide.explorer.propertysheet.SheetButton$InnerListener.mouseReleased (SheetButton.java:434) at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:230) at java.awt.Component.processMouseEvent(Component.java:3717) at java.awt.Component.processEvent(Component.java:3546) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) 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:912) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.EventQueue.dispatchEvent(EventQueue.java:319) at java.awt.EventDispatchThread.pumpOneEvent (EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) However if I derive my property editor from JPanel, it is invoked in the IDE standard property editor Dialog.
Fixed - if custom editor for property is a standalone window then it is used directly (standard multi-tab custom editor dialog is not shown).
verified in [nb31](34), [boston](1160)
Resolved for 3.3.x or earlier, no new info since then -> closing.