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

java.awt.Frame

If the Window class represents the base model of AWT window components, Frame is the fully loaded model. Features included with the Frame class are a border, titlebar, and an optional menubar. Frames can also be resized and fitted with an icon image, which will be displayed when the frame is iconified. The downside of frames is that they are tagged with a string warning potential users that your frame may be untrustworthy. Browsers are in charge of the warning string enforcement policy[3]—trusted applets that show a frame should not have the warning string displayed. And before you ask, the AWT provides no mechanism for modifying or removing the warning string, although a getWarningString() is provided by the Frame class in case ...

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