actionPerformed acting strangely
In a game that I've begun to develop, I'm implementing ActionListener on my custom JPanel class, and using Swing's Timer class to do my actionPerformed code, but I've hit a fairly serious problem:
Whenever I run the game, my character (2D aerial view) moves twice as slow in game when I do not have Firefox open. When I open Firefox, things speed up substantially.
I know that the problem lies in the Timer somewhere, but I can't figure out why this would happen. Firefox is my default browser.
If anyone wants to see code, then leave a comment and I'll get it on here.