JAVA HELP!!??? jGRASP?
-
how would you fix this or any suggestions. it's been coming up every time i run my program on jGrasp, it says the following: Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException… -1 at ConnectFour.play(ConnectFour.java:98) at ConnectFourListener.mouseClicked(Connect… at java.awt.Component.processMouseEvent(Com… at javax.swing.JComponent.processMouseEvent… at java.awt.Component.processEvent(Componen… at java.awt.Container.processEvent(Containe… at java.awt.Component.dispatchEventImpl(Com… at java.awt.Container.dispatchEventImpl(Con… at java.awt.Component.dispatchEvent(Compone… at java.awt.LightweightDispatcher.retargetM… at java.awt.LightweightDispatcher.processMo… at java.awt.LightweightDispatcher.dispatchE… at java.awt.Container.dispatchEventImpl(Con… at java.awt.Window.dispatchEventImpl(Window… at java.awt.Component.dispatchEvent(Compone… at java.awt.EventQueue.dispatchEventImpl(Ev… at java.awt.EventQueue.access$000(EventQueu… at java.awt.EventQueue$3.run(EventQueue.jav… at java.awt.EventQueue$3.run(EventQueue.jav… at java.security.AccessController.doPrivile… Method) at java.security.ProtectionDomain$1.doInter… at java.security.ProtectionDomain$1.doInter… at java.awt.EventQueue$4.run(EventQueue.jav… at java.awt.EventQueue$4.run(EventQueue.jav… at java.security.AccessController.doPrivile… Method) at java.security.ProtectionDomain$1.doInter… at java.awt.EventQueue.dispatchEvent(EventQ… at java.awt.EventDispatchThread.pumpOneEven… at java.awt.EventDispatchThread.pumpEventsF… at java.awt.EventDispatchThread.pumpEventsF… at java.awt.EventDispatchThread.pumpEvents(… at java.awt.EventDispatchThread.pumpEvents(… at java.awt.EventDispatchThread.run(EventDi…
-
Answer:
Would ConnectFour.java:98 be the line number in your program where the error is occurring?
Shorty24... at Yahoo! Answers Visit the source
Other answers
I don't know, isn't "java.lang.ArrayIndexOutOfBoundsExceptio… an error of referencing or declaring your arrays with the wrong index number..... .... wild guess....
Related Q & A:
- Where To Get Best AntiVirus For Java Mobile?Best solution by antivirus.com
- What is Java?Best solution by Yahoo! Answers
- How to Implement Gateway Service something similar to Oracle API gateway Using Java and Java based Open Source frameworks only?Best solution by Quora
- I need help with writing up the Java Code.Best solution by Yahoo! Answers
- Difference between Java 2 and Java 6?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.