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 ...

Get Graphic Java™ 1.2, Volume I: AWT, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.