@Override
    public void paintBorder(Graphics g, JComponent component, int state) {
      delegate.paintBorder(g, component, state);
    }
@Override
    public void paintBorder(Graphics g, JComponent component, int state)