I did find my error. I realized in my keyPressed method I should have out the parseInt under the if condition.
Thanks for the help!
Type: Posts; User: scooty199
I did find my error. I realized in my keyPressed method I should have out the parseInt under the if condition.
Thanks for the help!
Ok, so in my GUI application, it takes a string and converts it to a number, but there's a problem.
It generates a run time error
Here's the cod]
import java.awt.*;
import java.awt.event.*;...