Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/gtk/java/swing/plaf/gtk/GtkLabelUI.java


1   /*
2    * @(#)GtkLabelUI.java  1.2 00/01/12
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  
11  package org.gtk.java.swing.plaf.gtk;
12  
13  import javax.swing.*;
14  import javax.swing.plaf.basic.BasicLabelUI;
15  import javax.swing.plaf.ComponentUI;
16  
17  /**
18   * A Gtk L&F implementation of LabelUI.
19   * This merely sets up new default values in GtkLookAndFeel.
20   * <p>
21   * <strong>Warning:</strong>
22   * Serialized objects of this class will not be compatible with
23   * future Swing releases.  The current serialization support is appropriate
24   * for short term storage or RMI between applications running the same
25   * version of Swing.  A future release of Swing will provide support for
26   * long term persistence.
27   *
28   * @version 1.7 08/28/98
29   * @author Amy Fowler
30   */
31  public class GtkLabelUI extends BasicLabelUI
32  {
33      static GtkLabelUI sharedInstance = new GtkLabelUI();
34  
35      public static ComponentUI createUI(JComponent c) {
36          return sharedInstance;
37      }
38  }