Or, add it to a JPanel, and then add the JPanel to the frame...
frames have a default BorderLayout layout manager, and Panels have a default FlowLayout. BorderLayout resizes the middle part of the layout, FlowLayout just sticks on a component with it's preferred size.
If you purposefully set the layout manager to
null as listed above you can use setBounds() to specify the size and location off all your GUI elements. However, they will not be resized or moved if the window changes size.
You can read more about layout managers
here.
-Nate
P.S. - Is your name
really Great?
[This message has been edited by Nathan Pruett (edited July 17, 2001).]