What Is Lightweight And Heavyweight Components In Java?

What Is Lightweight And Heavyweight Components In Java? A heavyweight component is one that is associated with its own native screen resource (commonly known as a peer). A lightweight component is one that “borrows” the screen resource of an ancestor (which means it has no native resource of its own — so it’s “lighter”). What