2D Graphics in Java

Example 1 Draw and Fill a Rectangle Using Java

Example 2 Drawing and Filling Oval