As you may or may not know, I've been working on trying to get compiling a .jar file to work for the past few days. Unfortunately, I have not been able to get a jar to update the position of the graphics. I tried using a variable that is set to the position I need, but when the value changes at all during the code, the jar won't even open. Do I need a different command or something?

The code that draws the moving graphics (just in case)

Yes, this line is in the paintComponent method.