Here is an example of how to set the layout manager when creating the panel. JPanel p = new JPanel(new BorderLayout()); //PREFERRED! This approach does not work ...
確定! 回上一頁