![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e736. Creating a Borderless WindowJWindow window = new JWindow(); // Add component to the window window.getContentPane().add(component, BorderLayout.CENTER); // Set initial size window.setSize(300, 300); // Show the window window.setVisible(true);
e734. Exiting an Application When a JFrame Is Closed e735. Disabling the Close Button on a JFrame e737. Showing a Dialog Box e738. Getting the JFrame of a Component © 2002 Addison-Wesley. |