![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e562. Removing the Title Bar of a FrameThe title bar and other decorations can be removed from a frame. A frame without decorations looks and behaves like aWindow
container. However, if the frame never needs the decorations, it is
better to use a Window container.
Note: The decorations can only be removed while the frame is not visible. Frame frame = new Frame(); frame.setUndecorated(true); // Get the current decorated state boolean undecorated = frame.isUndecorated();
e560. Setting the Icon for a Frame e561. Making a Frame Non-Resizable e563. Setting the Bounds for a Maximized Frame e564. Iconifying and Maximizing a Frame e565. Hiding a Frame When Its Close Button Is Clicked e566. Exiting an Application When a Frame Is Closed e567. Getting All Created Frames in an Application e568. Determining When a Frame or Window Is Opened or Closed e569. Determining When a Frame or Window Is Iconized or Maximized
© 2002 Addison-Wesley. |