Class NorthEtchedBorder

All Implemented Interfaces:
Serializable, Border

public class NorthEtchedBorder extends EtchedBorder
Like EtchedBorder, but with just a line in the top/north
See Also:
  • Constructor Details

    • NorthEtchedBorder

      public NorthEtchedBorder()
  • Method Details

    • paintBorder

      public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
      Paints the border for the specified component with the specified position and size.
      Specified by:
      paintBorder in interface Border
      Overrides:
      paintBorder in class EtchedBorder
      Parameters:
      c - the component for which this border is being painted
      g - the paint graphics
      x - the x position of the painted border
      y - the y position of the painted border
      width - the width of the painted border
      height - the height of the painted border