Module java.desktop

Class BasicBorders.SplitPaneBorder

java.lang.Object
javax.swing.plaf.basic.BasicBorders.SplitPaneBorder
All Implemented Interfaces:
Border, UIResource
Enclosing class:
BasicBorders

public static class BasicBorders.SplitPaneBorder
extends Object
implements Border, UIResource
Draws the border around the splitpane. To work correctly you should also install a border on the divider (property SplitPaneDivider.border).
  • Field Details

  • Constructor Details

    • SplitPaneBorder

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