This is the another graphic example, where we are going to draw a image that look and act like satellite and earth. For creating these types of graphics in J2ME we use MIDlet's. In the example we have created PacerCanvas class that extends the canvas class to draw this graphics.
Please find the methods that are used in this example..
setColor(255, 162, 117);
fillRect(0, 0, w, h);
setColor(0, 0, 255);
drawLine(0, w - x, x, 0);
drawRect(z, z, 30, 30);
fillRoundRect(z, z, 30, 30, 10, 10);
drawArc(z, z, 30, 30, 0, 360);
The Application is as follows:
Source Code of PacerExample.java
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: December 11, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles