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