Module java.desktop

Class BasicBorders.MenuBarBorder

java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.basic.BasicBorders.MenuBarBorder
All Implemented Interfaces:
Serializable, Border, UIResource
Enclosing class:
BasicBorders

public static class BasicBorders.MenuBarBorder
extends AbstractBorder
implements UIResource
Draws the border around a menu bar.
  • Constructor Details

    • MenuBarBorder

      public MenuBarBorder​(Color shadow, Color highlight)
      Constructs a new instance of a MenuBarBorder.
      Parameters:
      shadow - a color of shadow
      highlight - a color of highlight