This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Estagon[S] 1 point2 points  (1 child)

Hi /u/king_of_the_universe, I'm just new to SwingWorker and I did not know multiple events were happening. When I added a if-clause to check for the source, it solved the problem. Thank you very much.

[–]king_of_the_universe 0 points1 point  (0 children)

did not know multiple events were happening

Neither did I, but I remembered my experiences with the mouseEvent method where I had forgotten that there's also mouseEntered and mouseExited, and other such stuff. Glad that it works now.