JButton btnSavebutton = new JButton(invFrameBackend.getSaveButtonText());
btnSavebutton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
try {
myCD.add(new SaveGameFrame(gameControl, myCD), "TakeMove");
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block