package windows;

import javax.swing.JButton;

public class MatchButton extends JButton{
	private final int match;
	public MatchButton(int match){
		super("Edit");
		this.match = match;
	}
	public int getMatch(){
		return match;
	}
}

@@ -39,17 +39,68 @@
 Button;%0A
+//Represents a button for a match edit on the panel
 %0A
-
 public c
@@ -159,16 +159,90 @@
  match;%0A
+%09//Makes a new button with label 'Edit' and sets match to given match num%0A
 %09public 
@@ -304,19 +304,65 @@
  match;%0A
-
 %09%7D%0A
+%09//returns which match this button represents%0A
 %09public 

Update MatchButton.java