PPT Slide
g.setColor(Color.blue);
g.drawString("Filled and unfilled rectangles",10,100);
g.drawString("Filled and unfilled ovals",250,100);
g.drawRect(60,120,80,60);
g.drawOval(310,120,80,60);
g.setColor(Color.yellow);
g.fillRect(65,125,70,50);
g.fillOval(315,125,70,50);
}
}
Previous slide
Next slide
Back to first slide
View graphic version