FileDocCategorySizeDatePackage
WindowsInternalFrameUI.javaAPI DocJava SE 5 API3424Fri Aug 26 14:54:50 BST 2005com.sun.java.swing.plaf.windows

WindowsInternalFrameUI

public class WindowsInternalFrameUI extends BasicInternalFrameUI
Windows rendition of the component.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

Fields Summary
XPStyle
xp
Constructors Summary
public WindowsInternalFrameUI(JInternalFrame w)

	super(w);
    
Methods Summary
protected javax.swing.DesktopManagercreateDesktopManager()

        return new WindowsDesktopManager();
    
protected javax.swing.JComponentcreateNorthPane(javax.swing.JInternalFrame w)

        titlePane = new WindowsInternalFrameTitlePane(w);
        return titlePane;
    
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent b)

        return new WindowsInternalFrameUI((JInternalFrame)b);
    
public voidinstallDefaults()


       
        super.installDefaults();

	if (xp != null) {
	    frame.setBorder(new XPBorder());
	} else {
	    frame.setBorder(UIManager.getBorder("InternalFrame.border"));
	}
    
public voidinstallUI(javax.swing.JComponent c)

	super.installUI(c);

        LookAndFeel.installProperty(c, "opaque", 
				    xp == null? Boolean.TRUE : Boolean.FALSE);
    
public voiduninstallDefaults()

        frame.setBorder(null);
        super.uninstallDefaults();