title: Changing coordinates of a choice box
body: <p>I have some code for an applet I made.</p>
  
  <pre><code>import javax.swing.*;
  import java.applet.*;
  import java.awt.*;
  import java.awt.event.*;
  
  public class Main extends Applet {
       Color clr;
  
       public void paint(Graphics g) {
           clr=new Color(0,68,255);
            setBackground(clr);
           g.setColor(new Color(255,255,255));
          g.drawString("Select between the numbers.",40,10);
       }
  
       public void init() {
           char x='\n';
           Choice c = new Choice();
           c.add("1");
           c.add("2");
           c.add("3");
           add(c);
       }
  }
  </code></pre>
  
  <p>I want to set coordinates of the <code>Choice c</code> but when I give coordinates, it says illegal coordinates or something like that... Do you have any ideas on how to fix it?</p>
  
  <p>Thanks for any help.</p>