sg.drawRect(90, 20, 30, 50);
sg.setColor(Color.CYAN);
sg.setStroke(new BasicStroke(1, 2, BasicStroke.JOIN_ROUND, 4, null, 0));
sg.fill(new Rectangle2D.Double(20, 70, 30, 50));
sg.fill(new Ellipse2D.Double(70, 70, 30, 50));
sg.setColor(Color.MAGENTA);
sg.fill(new RoundRectangle2D.Double(110, 70, 30, 50, 13.5, 16.1));