This section provides you to paint an image on the frame. Paint means draw an image and set its on the frame to the specified location according to its x coordinate and y coordinate.
Description of program:
In this program you will see how to paint an image on the fame to specified location. For this you need images that have to be set on the frame. Here first of all draw a rectangle and set the two images on to rectangle. Paint the rectangle in the yellow color. All drawing process is done using the paint() method.
Here is the code of program:
Output of program:
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: March 14, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles