The below is not compiling. I copied this prgoram from Sun's tutorial.
The Error due to this line: JFrame.setDefaultLookAndFeelDecorated(true);
Error Message:
1. What is event-dispatching
thread.
2. If we want to use thread, we have extend Thread or implement Runnable. But in this program nothing is used. Why?
3. What is the meaning of the below coding:
javax.swing.SwingUtilities.invokeLater(new Runnable()
4. I heard that swing is platform independent. That is it's look and feel will be same across all the platform. Is it true? If so, I am getting the maximize amd minimize button(Windows Look and Feel) is differ from the one I seen in the Sun's tutorial output(
Java Look and Feel). Why?
[ September 09, 2005: Message edited by: Niyas Ahmed Sheikh ]
[ September 09, 2005: Message edited by: Niyas Ahmed Sheikh ]