Drawing issue with Applet/Swing
I'm creating a Java Swing based Battleship game currently. Well... its already written but I made a few modifications to my code and am now experiencing issues, let me explain.
I wrote a fully functional game and it worked 100%. I recently reformatted my PC and put Eclipse back on it and am in the process of updating the AI (I haven't touched the GUI code) but am now experiencing issues with the applet running from Eclipse.
When the game runs I get a properly drawn screen: <REMOVED>
As soon as any mouse event occurs the screen redraws with garbage: <REMOVED>
Is this a common issue? I don't write many GUI applications with Java. I'll assume something is incorrect with my configuration because the code has worked 100% in the past.
If you need me to post any info please let me know!