Can someone highlight the differences between the two and the instances required ??
I have an application that uses both interdependently, but want to know if it is better than the other. Obviously, they both accept a Runnable object
, and so for me - I think I can use what I like.
Why are these two similar functions in different classes? I know that one is in awt and the other is Swing, but don't they do the same?
source share