21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.java.swing.plaf.windows;
27
28 import javax.swing.*;
29 import javax.swing.plaf.ButtonUI;
30 import javax.swing.plaf.UIResource;
31
32 import java.awt.*;
33 import java.io.Serializable;
34
35 import static com.sun.java.swing.plaf.windows.TMSchema.*;
36 import static com.sun.java.swing.plaf.windows.XPStyle.Skin;
37
38 import sun.swing.MenuItemCheckIconFactory;
39
40 /**
41 * Factory object that can vend Icons appropriate for the Windows L & F.
42 * <p>
43 * <strong>Warning:</strong>
44 * Serialized objects of this class will not be compatible with
45 * future Swing releases. The current serialization support is appropriate
46 * for short term storage or RMI between applications running the same
47 * version of Swing. A future release of Swing will provide support for
48 * long term persistence.
49 *
50 * @author David Kloba
51 * @author Georges Saab
52 * @author Rich Schiavi
53 */
54 @SuppressWarnings("serial") // Same-version serialization only
55 public class WindowsIconFactory implements Serializable
56 {
57 private static Icon frame_closeIcon;
58 private static Icon frame_iconifyIcon;
59 private static Icon frame_maxIcon;
60 private static Icon frame_minIcon;
61 private static Icon frame_resizeIcon;
|
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.java.swing.plaf.windows;
27
28 import javax.swing.*;
29 import javax.swing.plaf.ButtonUI;
30 import javax.swing.plaf.UIResource;
31
32 import java.awt.*;
33 import java.io.Serializable;
34
35 import static com.sun.java.swing.plaf.windows.TMSchema.*;
36 import static com.sun.java.swing.plaf.windows.XPStyle.Skin;
37
38 import sun.swing.MenuItemCheckIconFactory;
39
40 /**
41 * Factory object that can vend Icons appropriate for the Windows {@literal L & F}.
42 * <p>
43 * <strong>Warning:</strong>
44 * Serialized objects of this class will not be compatible with
45 * future Swing releases. The current serialization support is appropriate
46 * for short term storage or RMI between applications running the same
47 * version of Swing. A future release of Swing will provide support for
48 * long term persistence.
49 *
50 * @author David Kloba
51 * @author Georges Saab
52 * @author Rich Schiavi
53 */
54 @SuppressWarnings("serial") // Same-version serialization only
55 public class WindowsIconFactory implements Serializable
56 {
57 private static Icon frame_closeIcon;
58 private static Icon frame_iconifyIcon;
59 private static Icon frame_maxIcon;
60 private static Icon frame_minIcon;
61 private static Icon frame_resizeIcon;
|