java.lang.ClassCastException: HighWay.Main.MyTableModel

Oracle Community | 807555 | 2 decades 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

    How I can Delete Row From JTable

    Oracle Community | 2 decades ago | 807555
    java.lang.ClassCastException: HighWay.Main.MyTableModel

    Root Cause Analysis

    1. java.lang.ClassCastException

      HighWay.Main.MyTableModel

      at HighWay.Main.Main.mail_mouseClicked()
    2. HighWay.Main
      Main$5.mouseClicked
      1. HighWay.Main.Main.mail_mouseClicked(Main.java:177)
      2. HighWay.Main.Main.access$400(Main.java:14)
      3. HighWay.Main.Main$5.mouseClicked(Main.java:154)
      3 frames
    3. Java RT
      EventDispatchThread.run
      1. java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:211)
      2. java.awt.Component.processMouseEvent(Component.java:3718)
      3. java.awt.Component.processEvent(Component.java:3544)
      4. java.awt.Container.processEvent(Container.java:1164)
      5. java.awt.Component.dispatchEventImpl(Component.java:2593)
      6. java.awt.Container.dispatchEventImpl(Container.java:1213)
      7. java.awt.Component.dispatchEvent(Component.java:2497)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
      9. java.awt.LightweightDispatcher.processMouseEvent(Container.java:2230)
      10. java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
      11. java.awt.Container.dispatchEventImpl(Container.java:1200)
      12. java.awt.Window.dispatchEventImpl(Window.java:914)
      13. java.awt.Component.dispatchEvent(Component.java:2497)
      14. java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
      15. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
      16. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
      17. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      18. java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
      18 frames