Link to home
Start Free TrialLog in
Avatar of rajeshml
rajeshml

asked on

LIGHTWEIGHT AND HEAVYWEIGHT COMPONENTS

HI ALL,

can any one, tell me the exact difference between lightweight components and heavyweight components.

and wht is meant by a component being rectangular?
wht is meant by z-ordering?

Regards
Raj
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sciuriware
sciuriware

In other words:
lightweight components are platform-dependently implemented to interact with
the local window manager.
heavyweight components use the lightweight components to implement
SWING. In fact SWING could have been written by you.
Note: it is dangerous to mix AWT (light) components with their SWING (heavy)
counterparts in ONE application: things might lock up.
;JOOP!