And here is where I create the boxlayout: pnlMain.setLayout(new BoxLayout(pnlMain, BoxLayout.Y_AXIS)); ... import java.awt.*; import javax.swing.
確定! 回上一頁