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.
In my JDIC web browser, where I'm using the new TabbedPaneFactory functionality, when the mouse moves over the X (close icon), the following is the error message that appears (but ONLY when I move the mouse over the X): java.lang.ClassCastException: org.jdesktop.jdic.browser.WebBrowser cannot be cast to javax.swing.JComponent at org.openide.awt.CloseButtonTabbedPane.setMouseOverCloseButtonIndex(CloseButtonTabbedPane.java:303) at org.openide.awt.CloseButtonTabbedPane.access$900(CloseButtonTabbedPane.java:54) at org.openide.awt.CloseButtonTabbedPane$CloseButtonListener.eventDispatched(CloseButtonTabbedPane.java:451) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2360) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2252) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2251) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2251) at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2210) at java.awt.Component.dispatchEventImpl(Component.java:4308) at java.awt.Component.dispatchEvent(Component.java:4240) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Stan Aubrecht wants this assigned to him.
fixed in trunk /cvs/openide/awt/src/org/openide/awt/CloseButtonTabbedPane.java,v <-- CloseButtonTabbedPane.java new revision: 1.2; previous revision: 1.1