Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Uncompilable source code - Erroneous tree type: <any>
at objectclasstrain.myPanel.paintComponent(ObjectClas sTrain.java:85)
at javax.swing.JComponent.paint(JComponent.java:1037)
at javax.swing.JComponent.paintChildren(JComponent.ja va:870)
at javax.swing.JComponent.paint(JComponent.java:1046)
at javax.swing.JComponent.paintChildren(JComponent.ja va:870)
at javax.swing.JComponent.paint(JComponent.java:1046)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:5 67)
at javax.swing.JComponent.paintChildren(JComponent.ja va:870)
at javax.swing.JComponent.paintToOffscreen(JComponent .java:5139)
at javax.swing.RepaintManager$PaintManager.paintDoubl eBuffered(RepaintManager.java:1523)
at javax.swing.RepaintManager$PaintManager.paint(Repa intManager.java:1454)
at javax.swing.RepaintManager.paint(RepaintManager.ja va:1257)
at javax.swing.JComponent.paint(JComponent.java:1023)
at java.awt.GraphicsCallback$PaintCallback.run(Graphi csCallback.java:21)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGra phicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraph icsCallback.java:97)
at java.awt.Container.paint(Container.java:1778)
at java.awt.Window.paint(Window.java:3390)
at javax.swing.RepaintManager$3.run(RepaintManager.ja va:825)
at javax.swing.RepaintManager$3.run(RepaintManager.ja va:802)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at javax.swing.RepaintManager.paintDirtyRegions(Repai ntManager.java:802)
at javax.swing.RepaintManager.paintDirtyRegions(Repai ntManager.java:745)
at javax.swing.RepaintManager.prePaintDirtyRegions(Re paintManager.java:725)
at javax.swing.RepaintManager.access$1000(RepaintMana ger.java:46)
at javax.swing.RepaintManager$ProcessingRunnable.run( RepaintManager.java:1668)
at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:672)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:633)
at java.awt.EventQueue$2.run(EventQueue.java:631)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 642)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)