java.lang.ClassCastException

Oracle Community | 807587 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    problems with tooltips in JTree

    Oracle Community | 1 decade ago | 807587
    java.lang.ClassCastException

    Root Cause Analysis

    1. java.lang.ClassCastException

      No message provided

      at joyconn.MyTreeCellRenderer.getTreeCellRendererComponent()
    2. joyconn
      MyTreeCellRenderer.getTreeCellRendererComponent
      1. joyconn.MyTreeCellRenderer.getTreeCellRendererComponent(Frame1.java:275)
      1 frame
    3. Java RT
      VariableHeightLayoutCache.getPreferredWidth
      1. javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2751)
      2. javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
      3. javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
      4. javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getPreferredWidth(VariableHeightLayoutCache.java:1159)
      5. javax.swing.tree.VariableHeightLayoutCache.getMaxNodeWidth(VariableHeightLayoutCache.java:990)
      6. javax.swing.tree.VariableHeightLayoutCache.getPreferredWidth(VariableHeightLayoutCache.java:291)
      6 frames