Indeed. I should have been more clear...thanks for the clarification
Type: Posts; User: copeg
Indeed. I should have been more clear...thanks for the clarification
This is exactly the problem.
As for the string equals, if you receive errors post the code (preferably as an SSCCE). String is a member of the java.lang package, which is a default import. You...
Thanks for posting the code you got working.
A few points. If you are trying to perform animation, it should not be done within the paint method. Use a Timer (see How to Use Swing Timers (The...