| new JTextField ( object_string, int_width ) | ใช้สร้าง object JTextField และมีการกำหนด ข้อความและขนาดความกว้าง ให้กับ object ด้วย |
|---|
method:new JTextField ( object_string, int_width );
return type:JTextField
content:ใช้สร้าง object JTextField และมีการกำหนด ข้อความและขนาดความกว้าง ให้กับ object ด้วย
example:JTextField text_field = new JTextField ( "bamboolabcode", 12 );