31 import javax.accessibility.AccessibleContext;
32 import javax.swing.*;
33 import javax.swing.plaf.*;
34 import javax.swing.event.InternalFrameEvent;
35 import java.beans.PropertyChangeListener;
36 import java.beans.PropertyChangeEvent;
37 import java.beans.PropertyVetoException;
38 import static java.awt.RenderingHints.KEY_TEXT_ANTIALIASING;
39 import static java.awt.RenderingHints.KEY_TEXT_LCD_CONTRAST;
40
41 import sun.swing.DefaultLookup;
42
43 /**
44 * The class that manages a basic title bar
45 * <p>
46 * <strong>Warning:</strong>
47 * Serialized objects of this class will not be compatible with
48 * future Swing releases. The current serialization support is
49 * appropriate for short term storage or RMI between applications running
50 * the same version of Swing. As of 1.4, support for long term storage
51 * of all JavaBeans™
52 * has been added to the <code>java.beans</code> package.
53 * Please see {@link java.beans.XMLEncoder}.
54 *
55 * @author David Kloba
56 * @author Steve Wilson
57 */
58 @SuppressWarnings("serial") // Same-version serialization only
59 public class BasicInternalFrameTitlePane extends JComponent
60 {
61 /**
62 * The instance of {@code JMenuBar}.
63 */
64 protected JMenuBar menuBar;
65 /**
66 * The iconify button.
67 */
68 protected JButton iconButton;
69 /**
70 * The maximize button.
71 */
|
31 import javax.accessibility.AccessibleContext;
32 import javax.swing.*;
33 import javax.swing.plaf.*;
34 import javax.swing.event.InternalFrameEvent;
35 import java.beans.PropertyChangeListener;
36 import java.beans.PropertyChangeEvent;
37 import java.beans.PropertyVetoException;
38 import static java.awt.RenderingHints.KEY_TEXT_ANTIALIASING;
39 import static java.awt.RenderingHints.KEY_TEXT_LCD_CONTRAST;
40
41 import sun.swing.DefaultLookup;
42
43 /**
44 * The class that manages a basic title bar
45 * <p>
46 * <strong>Warning:</strong>
47 * Serialized objects of this class will not be compatible with
48 * future Swing releases. The current serialization support is
49 * appropriate for short term storage or RMI between applications running
50 * the same version of Swing. As of 1.4, support for long term storage
51 * of all JavaBeans
52 * has been added to the <code>java.beans</code> package.
53 * Please see {@link java.beans.XMLEncoder}.
54 *
55 * @author David Kloba
56 * @author Steve Wilson
57 */
58 @SuppressWarnings("serial") // Same-version serialization only
59 public class BasicInternalFrameTitlePane extends JComponent
60 {
61 /**
62 * The instance of {@code JMenuBar}.
63 */
64 protected JMenuBar menuBar;
65 /**
66 * The iconify button.
67 */
68 protected JButton iconButton;
69 /**
70 * The maximize button.
71 */
|