39 |
package javax.swing.plaf.metal; |
package javax.swing.plaf.metal; |
40 |
|
|
41 |
import javax.swing.JComponent; |
import javax.swing.JComponent; |
42 |
|
import javax.swing.JTextField; |
43 |
import javax.swing.plaf.ComponentUI; |
import javax.swing.plaf.ComponentUI; |
44 |
import javax.swing.plaf.basic.BasicTextFieldUI; |
import javax.swing.plaf.basic.BasicTextFieldUI; |
45 |
|
|
46 |
|
/** |
47 |
|
* A UI delegate for the {@link JTextField} component. |
48 |
|
*/ |
49 |
public class MetalTextFieldUI extends BasicTextFieldUI |
public class MetalTextFieldUI extends BasicTextFieldUI |
50 |
{ |
{ |
51 |
/** |
/** |
57 |
} |
} |
58 |
|
|
59 |
/** |
/** |
60 |
* Returns an instance of MetalTextFieldUI. |
* Returns a new instance of <code>MetalTextFieldUI</code>. |
61 |
* |
* |
62 |
* @param component the component for which we return an UI instance |
* @param component the component for which we return an UI instance |
63 |
* |
* |
64 |
* @return an instance of MetalTextFieldUI |
* @return A new instance of <code>MetalTextFieldUI</code>. |
65 |
*/ |
*/ |
66 |
public static ComponentUI createUI(JComponent component) |
public static ComponentUI createUI(JComponent component) |
67 |
{ |
{ |