| removeItemAt() | ใช้ลบข้อมูล ออกจาก object JComboBox ในตำแหน่งที่กำหนด |
|---|
method:removeItemAt ( int_index );
return type:void
content:ใช้ลบข้อมูล ออกจาก object JComboBox ในตำแหน่งที่กำหนด
example:Vector vector = new Vector (); vector.addElement ( "bamboo" ); vector.addElement ( "lab" ); vector.addElement ( "code" ); JComboBox combo_box = new JComboBox ( vector ); combo_box.removeItemAt ( 1 );