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 209352

Summary: ClassCastException: javax.swing.JLabel cannot be cast to javax.swing.JMenuItem
Product: platform Reporter: Martin Fousek <marfous>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 185700
Attachments: stacktrace

Description Martin Fousek 2012-03-09 08:02:43 UTC
Build: NetBeans IDE Dev (Build 20120309-7b5708ef0431)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Linux

User Comments:
marfous: invoked switching windows by CTRL+TAB




Stacktrace: 
java.lang.ClassCastException: javax.swing.JLabel cannot be cast to javax.swing.JMenuItem
   at javax.swing.plaf.metal.MetalIconFactory$MenuArrowIcon.paintIcon(MetalIconFactory.java:1875)
   at javax.swing.plaf.basic.BasicLabelUI.paint(BasicLabelUI.java:150)
   at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
   at javax.swing.JComponent.paintComponent(JComponent.java:752)
   at javax.swing.JComponent.paint(JComponent.java:1029)
   at javax.swing.JComponent.paintChildren(JComponent.java:862)
Comment 1 Martin Fousek 2012-03-09 08:02:46 UTC
Created attachment 116500 [details]
stacktrace
Comment 2 Martin Fousek 2012-03-09 08:07:27 UTC
It's every time when I invoke this window, increasing priority.
Comment 3 Stanislav Aubrecht 2012-03-09 08:50:33 UTC

*** This bug has been marked as a duplicate of bug 209327 ***