cardPane = new JPanel();. – We need to create an instance of JPanel. This panel will be the one holding other panels. card = new CardLayout();.
確定! 回上一頁