0 Replies Latest reply on Sep 16, 2008 6:54 PM by 843804

    upgrading to JRE 6

    843804
      I currently have an older menu applet that worked well up until the JRE 6 upgrade. Here is the error:


      Exception in thread "AWT-EventQueue-2" java.lang.IllegalArgumentException: origin not in parent's hierarchy
           at java.awt.PopupMenu.show(Unknown Source)
           at MenuPanel.paint(MenuPanel.java)
           at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
           at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
           at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
           at java.awt.Container.paint(Unknown Source)
           at java.awt.Container.update(Unknown Source)
           at sun.awt.RepaintArea.updateComponent(Unknown Source)
           at sun.awt.RepaintArea.paint(Unknown Source)
           at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
           at java.awt.Component.dispatchEventImpl(Unknown Source)
           at java.awt.Container.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)