-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Originally posted by Manfred Leonhardt:
Hi G,
The reason that JFrame, JDialog, JWindow, and JApplet are heavyweight is because the OS draws the outside of them and the OS link must be created and maintained. The components are handled by the OS windowing environment for such things as iconification, maximize, minimize, resize, top/bottom/middle placement, etc.
Regards,
Manfred.
Are you sure JApplet is heavy-weight ?
Hierarchy is Panel-->Applet-->JApplet
so, it shouldn't be ?
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |