Whoops, I wasn't aware that Runnable was an interface that defined only one method. This leads me to another question:
What happens when you try to instantiate an interface? Does it create an...
Type: Posts; User: bbr201
Whoops, I wasn't aware that Runnable was an interface that defined only one method. This leads me to another question:
What happens when you try to instantiate an interface? Does it create an...
hi all, quick question here. dont recall seeing this in suns java tutorial.
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new SwingDemo();
}
});