Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package siena;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- public class ButtonClicker implements ActionListener {
- public ButtonClicker(int name) {
- id = name;
- }
- public ButtonClicker(){
- id = -1;
- }
- int id;
- @Override
- public void actionPerformed(ActionEvent e) {
- ConnectFour.takeMove(id);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement