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());
 


Constructor Index

 o HoriLine()

Method Index

 o getPreferredSize()
 o paint(Graphics)

Constructors

 o HoriLine
 public HoriLine()

Methods

 o paint
 public void paint(Graphics g)
Overrides:
paint in class Canvas
 o getPreferredSize
 public Dimension getPreferredSize()
Overrides:
getPreferredSize in class Component