Simple solution to this problem is that make the layout of the frame null and
use the function setBounds to place the text box or button or some other object
where u want to place them or an easy way is that use JBuilder which provide u
design facility to get rid of all such head ack.