Whenever I tried to run the program, yes the text is moving but it leaves a trace of its last position. Like for example the text "test" is in first positioned at x=50, y=100 then in the next update, the x=50, y=120. The problem is, the last position which is the x=50, y=100 is still in display. I would like to remove the last position of the text every time it updates.
Can you guys help me?
(The j label is in the Action performed method)
This is my core class.
like.PNG
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.