| new FlowLayout( flowlayout_constant, int_horizontal, int_vertical ) | ใช้สร้าง object flowlayout โดยมีการกำหนดระยะห่างระหว่าง component ทั้งแนวตั้งและแนวนอน และกำหนดวิธีการเรียง component ด้วยว่าจะให้เป็นลักษณะใด |
|---|
method:new FlowLayout ( flowlayout_constant, int_horizontal, int_vertical );
return type:FlowLayout
content:ใช้สร้าง object flowlayout โดยมีการกำหนดระยะห่างระหว่าง component ทั้งแนวตั้งและแนวนอน และกำหนดวิธีการเรียง component ด้วยว่าจะให้เป็นลักษณะใด คือ เริ่มจากซ้าย, เริ่มจากขวา หรือเริ่มจากตรงกลาง
example:FlowLayout flowlayout = new FlowLayout ( FlowLayout.RIGHT, 10, 20 );