javax.swing.plaf.metal
public class MetalSeparatorUI extends BasicSeparatorUI
| Constructor Summary | |
|---|---|
| MetalSeparatorUI()
Constructs a new instance of MetalSeparatorUI. | |
| Method Summary | |
|---|---|
| static ComponentUI | createUI(JComponent component)
Returns a shared instance of MetalSeparatorUI.
|
| void | paint(Graphics g, JComponent c)
The separator is made of two lines. |
MetalSeparatorUI.MetalSeparatorUI.
Parameters: component the component for which we return an UI instance
Returns: A shared instance of MetalSeparatorUI.
Parameters: g The Graphics object to paint with c The JComponent to paint.