Graphics programming in java geeksforgeeks. Using functions of graphics.