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.JRootPane; |
43 |
import javax.swing.plaf.ComponentUI; |
import javax.swing.plaf.ComponentUI; |
44 |
import javax.swing.plaf.basic.BasicRootPaneUI; |
import javax.swing.plaf.basic.BasicRootPaneUI; |
45 |
|
|
46 |
|
/** |
47 |
|
* A UI delegate for the {@link JRootPane} component. This class is not fully |
48 |
|
* implemented. |
49 |
|
* |
50 |
|
* @since 1.4 |
51 |
|
*/ |
52 |
public class MetalRootPaneUI |
public class MetalRootPaneUI |
53 |
extends BasicRootPaneUI |
extends BasicRootPaneUI |
54 |
{ |
{ |
58 |
private static MetalRootPaneUI instance = null; |
private static MetalRootPaneUI instance = null; |
59 |
|
|
60 |
/** |
/** |
61 |
* Constructs a new instance of MetalRootPaneUI. |
* Constructs a shared instance of <code>MetalRootPaneUI</code>. |
62 |
*/ |
*/ |
63 |
public MetalRootPaneUI() |
public MetalRootPaneUI() |
64 |
{ |
{ |
66 |
} |
} |
67 |
|
|
68 |
/** |
/** |
69 |
* Returns an instance of MetalRootPaneUI. |
* Returns a shared instance of <code>MetalRootPaneUI</code>. |
70 |
* |
* |
71 |
* @param component the component for which we return an UI instance |
* @param component the component for which we return an UI instance |
72 |
* |
* |
73 |
* @return an instance of MetalRootPaneUI |
* @return A shared instance of <code>MetalRootPaneUI</code>. |
74 |
*/ |
*/ |
75 |
public static ComponentUI createUI(JComponent component) |
public static ComponentUI createUI(JComponent component) |
76 |
{ |
{ |