Exactly. Sun could have decided to create a new interface, but they saw that Runnable was already there and provided them with all they needed - a single "run" method. The only possible problem with Runnable.run() is that it cannot throw any checked exceptions. Sun fixed that in java.util.concurrent.Callable, which also returns a value, but for Swing applications neither is really necessary.
Karthick Dharani Vidhya
Joined: Feb 23, 2008
I just came to know about Callable after your reply.
Thanks a lot.
subject: SwingUtilities.invokeLater and invokeAndWait....