O'Reilly logo

Graphic Java™ 1.2, Volume I: AWT, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Lightweight Components

AWT components are heavyweight, meaning they have a native peer and are rendered in an opaque window of their own. Since a heavyweight component is rendered in its own opaque window, it must always be rectangular in shape; if you want a see-through component, a heavyweight won't cut the mustard. Also, as you might suspect, a 1:1 ratio of native window per AWT component is not exactly ideal from a performance ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required