/[classpath]/classpath/javax/swing/plaf/metal/MetalLabelUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/metal/MetalLabelUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.3 by gnu_andrew, Sat Sep 10 15:31:52 2005 UTC revision 1.2.2.4 by gnu_andrew, Wed Nov 2 00:44:00 2005 UTC
# Line 50  import javax.swing.plaf.basic.BasicGraph Line 50  import javax.swing.plaf.basic.BasicGraph
50  import javax.swing.plaf.basic.BasicLabelUI;  import javax.swing.plaf.basic.BasicLabelUI;
51    
52  /**  /**
53   * A UI delegate used for {@link JLabel}s in the {@link MetalLookAndFeel}.   * A UI delegate for the {@link JLabel} component.
54   */   */
55  public class MetalLabelUI  public class MetalLabelUI
56    extends BasicLabelUI    extends BasicLabelUI
57  {  {
58    
59    /** The shared UI instance for JLabels. */    /** The shared instance of the UI delegate. */
60    protected static MetalLabelUI metalLabelUI;    protected static MetalLabelUI metalLabelUI;
61    
62    /**    /**
63     * Constructs a new instance of MetalLabelUI.     * Constructs a new instance of <code>MetalLabelUI</code>.
64     */     */
65    public MetalLabelUI()    public MetalLabelUI()
66    {    {
# Line 68  public class MetalLabelUI Line 68  public class MetalLabelUI
68    }    }
69    
70    /**    /**
71     * Returns an instance of MetalLabelUI.     * Returns a shared instance of <code>MetalLabelUI</code>.
72     *     *
73     * @param component the component for which we return an UI instance     * @param component the component for which we return an UI instance
74     *     *
75     * @return an instance of MetalLabelUI     * @return A shared instance of <code>MetalLabelUI</code>.
76     */     */
77    public static ComponentUI createUI(JComponent component)    public static ComponentUI createUI(JComponent component)
78    {    {

Legend:
Removed from v.1.2.2.3  
changed lines
  Added in v.1.2.2.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26