Class HoriLine
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----HoriLine
- public class HoriLine
- extends Canvas
This small component just displays a horizontal line.
It is useful to separate sections in a window.
For example, this command is used to display the
line right under the menu in JaWavedit:
P.add("North",new HoriLine());
-
HoriLine()
-
-
getPreferredSize()
-
-
paint(Graphics)
-
HoriLine
public HoriLine()
paint
public void paint(Graphics g)
- Overrides:
- paint in class Canvas
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class Component