void (Graphics g) { g.setColor(myStyle.myToolbarColor); RectanglePainter2D.FILL.paint((Graphics2D)g, 0, 0, getWidth(), getHeight(), 6.0); RectanglePainter2D.FILL.paint((Graphics2D)g, 0, 6, getWidth(), getHeight() - 6); g.setColor(myStyle.myBorderColor); RectanglePainter2D.FILL.paint((Graphics2D)g, 0, getHeight() - myStyle.myBorder.getFloat(), getWidth(), myStyle.myBorder.getFloat()); }