How to arrange a button in the applet window?

How to arrange a button in the applet window?.
example below:
JFrame f=newJFrame();
f.setBounds(123,45,0,0);