void (Graphics g) { g.setColor(myStyle.myBorderColor); RectanglePainter2D.FILL.paint((Graphics2D)g, 0, 0, getWidth(), getHeight(), 6.0); g.setColor(myStyle.myBackgroundColor); RectanglePainter2D.FILL.paint((Graphics2D)g, 1, 1, getWidth() - 2, getHeight() - 2, 6.0); }