i = createImage (50, 50); gc = i.getGraphics(); // Really only want one corner gc.drawRoundRect (1, 1, 200, 200, 20, 40);
g.drawImage (i, 1, 1, 200, 200, this);