java.lang.ClassCastException

Oracle Community | 807577 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ClassCastException in setAction

    Oracle Community | 1 decade ago | 807577
    java.lang.ClassCastException
  2. 0

    Error While Creating JToolBar

    Stack Overflow | 5 years ago | Dummy Derp
    java.lang.ClassCastException: Sketcher.SketcherFrame$ColorAction cannot be cast to javax.swing.Icon

    Root Cause Analysis

    1. java.lang.ClassCastException

      No message provided

      at javax.swing.JMenuItem.configurePropertiesFromAction()
    2. Java RT
      AbstractButton.setAction
      1. javax.swing.JMenuItem.configurePropertiesFromAction(JMenuItem.java:355)
      2. javax.swing.AbstractButton.setAction(AbstractButton.java:967)
      2 frames