Answer Posted / suresh kumar
The Heavy weight components are drawn by the os when the
programs are executed.
For eg: AWT programs
So what happen is when we tried to the run that class file
of a AWT program, it will change its appearance because,
here the components are drawn the os again bt in another
system.
But the light weight components are by the java program
itself.
For eg: Swing programs.
So whenever we tried to run the class file in any system it
does not change its appearance
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Why does JComponent have add() and remove() methods but Component does not?
What is sling swing?
What is swing framework in java?
How to render an html page using only swing.
Can a class be it?s own event handler? Explain how to implement this?
What is frame in java swing?
What are the different components that are used to show a container?
What does javax swing do?
How do you swing an applet?
What is an event and what are the models available for event handling?
What is the difference between swing and applet?
What are the containers available in swing?
What is a component in swing?
What is swing gui?
Which window contains the swing controls?