Java Interview Questions
which method of the component class is used to set the position and the size of a component?
set Bounds(). 
Example : TxtName.setBounds(x, y, width, height);