title: Draw olympic circles. Java ME does not support certain imports! Please help
body: <p>Hello i am trying to draw an olympic symbol into my screen for my mobile app. I know how to do it in java applet. Im not able to do in java ME. Please help. </p>
  
  <p>Since the packages  </p>
  
  <pre><code>    import java.awt.*;
      import java.applet.*;
      import java.awt.event.*;
  </code></pre>
  
  <p>Is not supported by java ME. T
  The follwing code to draw the olympic symbol works for java. But does not work for java ME</p>
  
  <pre><code>    public void paint (Graphics g)
      {
      //Draw the First Circle and make it red 
      g.drawOval (1,0,40,40); g.setColor(Color.red);
  
      //Draw the Second Circle and make it blue
      g.drawOval (21,20,40,40);g.setColor(Color.blue);
  
      //Draw the Third Circle and make it yellow
      g.drawOval (41,0,40,40);g.setColor(Color.yellow);
  
      //Draw the Fourth Circle and make it black
      g.drawOval (61,20,40,40);g.setColor(Color.black);
  
      //Draw the Fifth Circle and make it green
      g.drawOval (81,0,40,40);g.setColor(Color.green);
      }
  </code></pre>
  
  <p>Please help thanks.</p>