setLayout (new BorderLayout()); // To use BorderLayout with a JPanel, you have // to change the panel's layout manager; otherwise, // a FlowLayout is used.
確定! 回上一頁