PDA

Click to See Complete Forum and Search --> : Light Weight Component


ERUM
Jul 24th, 2007, 01:21 AM
Hello Everone!

does any one know what is core concept behind Light Weight Component

seconldy it exist only in java or in some other lanaguage too ??

also i required the good link to get the whole information about it if some
one know..

Thanks

ComputerJy
Jul 24th, 2007, 02:31 PM
lightweight component: A component in a graphical user interface is lightweight if it is not rendered in its own native window (i.e. a window that is provided by the platform's operating system/window manager), but is instead `painted' onto a heavyweight component.

for example: JButton, JTextField, ... etc are Heavy weight components. Light weight components are the ones drawn by user-code overriding one of the painting methods to draw the body of the component instead of letting the VM draw it

I hope that was clear, and I think you can look this up in the JDoc (http://java.sun.com/javase/6/docs/api/) or you can take a look at the Java SE APIs & Documentation (http://java.sun.com/javase/reference/api.jsp)