PPT Slide
g.fillOval(270, 130, 100, 100);
g.drawArc(100, 200, 50, 70, 100, 100);
g.fillArc(150, 200, 80, 100, 130, 130);
}
public boolean handleEvent(Event e) {
if (e.id == Event.WINDOW_DESTROY) {
dispose();
System.exit(0);
return true;
}
return super.handleEvent(e);
}
} // end class
Example Graphics (cont)
Previous slide
Next slide
Back to first slide
View graphic version