// 140509 TA public void goToPreviousGamePanel() { this.getCardLayout().show(this.getcontentPane(), "Main"); this.getCurrentPanel().hide(); currentPanel = gamePanel.getPreviousPanel(); nbrButtons = gamePanel.nbrGamesOnPanel(gamePanel.getCurrentPanelId()); System.out.println(nbrButtons + " " + gamePanel.getCurrentPanelId()); this.currentPanel.show(); }