You could use setBounds(int x, int y, int width, int height);

It's a hit or miss type deal, but you will eventually get the things the size and position you want them.