KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > java > swing > plaf > motif > MotifMenuBarUI


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
8 package com.sun.java.swing.plaf.motif;
9
10 import java.awt.Component JavaDoc;
11 import java.awt.Container JavaDoc;
12 import java.awt.Dimension JavaDoc;
13 import java.awt.Graphics JavaDoc;
14 import java.awt.Color JavaDoc;
15 import java.awt.Insets JavaDoc;
16 import java.awt.Point JavaDoc;
17 import java.awt.Rectangle JavaDoc;
18 import java.awt.event.*;
19 import java.io.Serializable JavaDoc;
20
21 import javax.swing.*;
22 import javax.swing.event.*;
23 import javax.swing.border.*;
24 import javax.swing.plaf.*;
25 import javax.swing.plaf.basic.BasicMenuBarUI JavaDoc;
26 //REMIND
27
import javax.swing.plaf.basic.*;
28
29 /**
30  * A Windows L&F implementation of MenuBarUI. This implementation
31  * is a "combined" view/controller.
32  * <p>
33  * <strong>Warning:</strong>
34  * Serialized objects of this class will not be compatible with
35  * future Swing releases. The current serialization support is appropriate
36  * for short term storage or RMI between applications running the same
37  * version of Swing. A future release of Swing will provide support for
38  * long term persistence.
39  *
40  * 1.38 12/19/03
41  * @author Georges Saab
42  * @author Rich Schiavi
43  */

44
45 public class MotifMenuBarUI extends BasicMenuBarUI JavaDoc
46 {
47
48     public static ComponentUI createUI(JComponent x) {
49     return new MotifMenuBarUI();
50     }
51
52 } // end class
53

54
Popular Tags