1. /*
  2. * @(#)WindowsInternalFrameUI.java 1.11 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.java.swing.plaf.windows;
  8. import javax.swing.*;
  9. import javax.swing.plaf.basic.*;
  10. import javax.swing.plaf.ComponentUI;
  11. /**
  12. * Windows rendition of the component.
  13. * <p>
  14. * <strong>Warning:</strong>
  15. * Serialized objects of this class will not be compatible with
  16. * future Swing releases. The current serialization support is appropriate
  17. * for short term storage or RMI between applications running the same
  18. * version of Swing. A future release of Swing will provide support for
  19. * long term persistence.
  20. */
  21. public class WindowsInternalFrameUI extends BasicInternalFrameUI
  22. {
  23. public static ComponentUI createUI(JComponent b) {
  24. return new WindowsInternalFrameUI((JInternalFrame)b);
  25. }
  26. public WindowsInternalFrameUI(JInternalFrame w){
  27. super(w);
  28. }
  29. protected DesktopManager createDesktopManager(){
  30. return new WindowsDesktopManager();
  31. }
  32. }