KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)MotifLabelUI.java 1.12 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 javax.swing.*;
11 import javax.swing.plaf.basic.BasicLabelUI JavaDoc;
12 import javax.swing.plaf.ComponentUI JavaDoc;
13
14 /**
15  * A Motif L&F implementation of LabelUI.
16  * This merely sets up new default values in MotifLookAndFeel.
17  * <p>
18  * <strong>Warning:</strong>
19  * Serialized objects of this class will not be compatible with
20  * future Swing releases. The current serialization support is appropriate
21  * for short term storage or RMI between applications running the same
22  * version of Swing. A future release of Swing will provide support for
23  * long term persistence.
24  *
25  * @version 1.12 12/19/03
26  * @author Amy Fowler
27  */

28 public class MotifLabelUI extends BasicLabelUI JavaDoc
29 {
30     static MotifLabelUI sharedInstance = new MotifLabelUI();
31
32     public static ComponentUI JavaDoc createUI(JComponent c) {
33         return sharedInstance;
34     }
35 }
36
Popular Tags