下面是一個使用BoxLayout排列控制元件的例子: JPanel panel=new JPanel(); BoxLayout layout=new BoxLayout(panel, BoxLayout.X_AXIS); panel.setLayout( ...
確定! 回上一頁