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