About 852 results
Open links in new tab
  1. How to Make Frames (Main Windows) - Oracle Help Center

    Play with the various types of windows to see how the window decorations, window system, and frame icons interact. Responding to Window-Closing Events By default, when the user closes a frame onscreen, the frame is hidden.

  2. Window (Java Platform SE 8 ) - Oracle

    In a multi-screen environment, you can create a Window on a different screen device by constructing the Window with Window(Window, GraphicsConfiguration). The GraphicsConfiguration object is one of the GraphicsConfiguration objects of …

  3. How to Create Translucent and Shaped Windows - Oracle

    As of the Java Platform, Standard Edition 6 (Java SE 6) Update 10 release, you can add translucent and shaped windows to your Swing applications. This page covers the following topics: Supported Capabilities; Determining a Platform's Capabilities; How to Implement Uniform Translucency; How to Implement Per-Pixel Translucency; How to Implement a ...

  4. How to Make Dialogs (The Java™ Tutorials > Creating a GUI With …

    A Dialog window is an independent sub window meant to carry temporary notice apart from the main Swing Application Window. Most Dialogs present an error message or warning to a user, but Dialogs can present images, directory trees, or just about anything compatible with the main Swing Application that manages them.

  5. How to Create a Splash Screen (The Java™ Tutorials - Oracle

    A Java application launcher is able to decode an image and display it in a simple non-decorated window. The splash screen can display any gif , png , or jpeg image, with transparency, translucency, and animation.

  6. How to Use File Choosers (The Java™ Tutorials - Oracle

    In the Java look and feel, the chooser's list shows each file's name and displays a small icon that represents whether the file is a true file or a directory. You can customize this file view by creating a custom subclass of FileView and using an instance of the class as an argument to the setFileView method.

  7. How to Use the Focus Subsystem (The Java™ Tutorials > Creating …

    The focused window is the window that contains the focus owner. JWindow and focus: To use a JWindow component in your GUI, you should know that the JWindow component's owning frame must be visible in order for any components in the window to get the focus.

  8. "Hello World!" for Microsoft Windows (The Java™ Tutorials > …

    The Java application launcher tool (java) uses the Java virtual machine to run your application. Create a Source File. To create a source file, you have two options: You can save the file HelloWorldApp.java on your computer and avoid a lot of typing.

  9. How to Use Scroll Panes (The Java™ Tutorials - Oracle

    In the Java look and feel and some others, the size of the knob gives a visual clue as to how much of the client is visible. By clicking an arrow button, the user can scroll by a unit increment . By clicking within the track, the user can scroll by a block increment .

  10. How to Use Modality in Dialogs (The Java™ Tutorials - Oracle

    In Java SE 6 you can create a document-modal dialog box without a parent. Because the Dialog class is a subclass of the Window class, a Dialog instance automatically becomes the root of the document if it has no owner.

Refresh