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 - ClassCastException: javax.swing.JLabel cannot be cast to javax.swing.JMenuItem
Summary: ClassCastException: javax.swing.JLabel cannot be cast to javax.swing.JMenuItem
Status: RESOLVED DUPLICATE of bug 209327
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-09 08:02 UTC by Martin Fousek
Modified: 2012-03-09 08:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 185700


Attachments
stacktrace (3.03 KB, text/plain)
2012-03-09 08:02 UTC, Martin Fousek
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***