1. /*
  2. * @(#)MotifMenuBarUI.java 1.38 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.java.swing.plaf.motif;
  8. import java.awt.Component;
  9. import java.awt.Container;
  10. import java.awt.Dimension;
  11. import java.awt.Graphics;
  12. import java.awt.Color;
  13. import java.awt.Insets;
  14. import java.awt.Point;
  15. import java.awt.Rectangle;
  16. import java.awt.event.*;
  17. import java.io.Serializable;
  18. import javax.swing.*;
  19. import javax.swing.event.*;
  20. import javax.swing.border.*;
  21. import javax.swing.plaf.*;
  22. import javax.swing.plaf.basic.BasicMenuBarUI;
  23. //REMIND
  24. import javax.swing.plaf.basic.*;
  25. /**
  26. * A Windows L&F implementation of MenuBarUI. This implementation
  27. * is a "combined" view/controller.
  28. * <p>
  29. * <strong>Warning:</strong>
  30. * Serialized objects of this class will not be compatible with
  31. * future Swing releases. The current serialization support is appropriate
  32. * for short term storage or RMI between applications running the same
  33. * version of Swing. A future release of Swing will provide support for
  34. * long term persistence.
  35. *
  36. * 1.38 12/19/03
  37. * @author Georges Saab
  38. * @author Rich Schiavi
  39. */
  40. public class MotifMenuBarUI extends BasicMenuBarUI
  41. {
  42. public static ComponentUI createUI(JComponent x) {
  43. return new MotifMenuBarUI();
  44. }
  45. } // end class