method:setBounds ( x, y, width, height );return type:voidcontent:ใช้กำหนด ตำแหน่ง และขนาดของ componentexample:JButton button = new JButton ( "cancel" ); button.setBounds ( 0, 0, 100, 30 );