From: chidi on
Hi people,
does anyon know why i get this kind of error? I am trying to build a
GUI and each time i do copy paste, i get this error or warning.
thanks in advance

Exception in thread "AWT-EventQueue-0"
java.lang.ArrayIndexOutOfBoundsException: -2
at sun.awt.X11.XMenuBarPeer.getLeftSelected(Unknown Source)
at sun.awt.X11.XMenuBarPeer.handleKeyPressOnEDT(Unknown Source)
at sun.awt.X11.XMenuBarPeer$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)

Chidi