What is light weight component?

Answer Posted / cj.ashok

Light weight Component is Swing, for ex: In swings If u
want to create button the JVM is wont Ask that button to OS
instead of it ill create its own button type, thats y v
called swing is light weight component,

The Applet is heavy weight component becoz the JVM ask the
button component to OS,then the OS will give components to
JVM, Thats y v called Apllet is Heavy Weight Component

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to convert any java object into byte array.

554


What do you understand by Header linked List?

600


What is super?

587


Difference between serialization and deserialization in java?

656


What is literal example?

566






How static variable work in java?

602


How garbage collection is done in java?

551


What is append in java?

631


What environment variables are required to be set on a machine in order to run Java programs?

620


Explain notify() method of object class ?

615


What is defined as false sharing in the context of multithreading?

510


What is difference between static class and singleton pattern?

482


what is predefined function in java?

541


Can we serialize static variables in java?

656


Do extraneous variables affect validity?

528