Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
main menu
  • Loading branch information
afortuna2016 committed Apr 22, 2017
1 parent f409fd0 commit 675ca72
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/view/MainMenu.java
Expand Up @@ -230,6 +230,25 @@ public class MainMenu
frame.add(panel5); frame.add(panel5);
frame.setVisible(true); frame.setVisible(true);


newGame.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
frame.dispose();
Cashflow.go();
}
});

rules.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
frame.dispose();
Instructions.getClicked();
}
});

exit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
System.exit(0);
}
});
} }
} }
>>>>>>> branch 'master' of https://github.uconn.edu/joh13010/2102-Group-Project-Spring-2017.git

0 comments on commit 675ca72

Please sign in to comment.