首頁
返回
繼續
最後一頁
摘要
圖形
FlowLayout
FlowLayout(FlowLayout.CENTER)
FlowLayout(int align, int hgap, int vgap)
由左到右,由上到下排列,像一般文字那樣排
FlowLayout.CENTER 置中對齊
FlowLayout.LEFT 靠左
FlowLayout.RIGHT靠右
setAlignment()設定對齊方式
setHgap()設定水平間距 setVgap設定垂直間距