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
Where is java swing used?
What is the difference between invokeAndWait() and invokeLater()?
What are swing components in java?
What are the features of swing in java?
Which containers use a border Layout as their default layout in swing?
what are the steps required in creating an empty table drop?
What is awt and swing?
What is java panel swing?
Why would you use swingutilities.invokeandwait or swingutilities.invokelater?
Is there any heavyweight component in swings?
What is jlabel java swing?
How to move from one page to another in java swing?
Explain the difference between swing and jsf.
What is jfc swing in java?
What is the design pattern that java uses for all swing components ?