I want to create a thread inside the actionPerformed method of a "JFrame extends" class, that will run a spesific method.
How can i do that without messing with anonymus classes?
I thought to implement Runnable interface, to include my run methode and finally to create the new thead with the object that my class creates, which will be Runnable.
But this way i have to create a heavy object which has many fields and swing components, for simply creating a thread..
Does something more convenient exists??