
java 面板,怎么才能切换面板,下面这种方式怎么改 20
java面板,怎么才能切换面板,下面这种方式怎么改//按键方法publicvoidactionPerformed(ActionEvente){planePanel=new...
java 面板,怎么才能切换面板,下面这种方式怎么改//按键方法
public void actionPerformed(ActionEvent e){
planePanel = new PlanePanel();
this.removeAll();
this.add(planePanel);
} 展开
public void actionPerformed(ActionEvent e){
planePanel = new PlanePanel();
this.removeAll();
this.add(planePanel);
} 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询