public void paintOnDivider(@NotNull Graphics2D gg, @NotNull Component divider, @NotNull Side side) {
      MyPaintable paintable = side.select(myPaintable1, myPaintable2);
      paintable.paintOnDivider(gg, divider);
    }
public void paintOnDivider(@NotNull Graphics2D gg, @NotNull Component divider, @NotNull Side side)