diff --git a/src/view/CheckersCanvas.java b/src/view/CheckersCanvas.java index ee2b11a..5142c93 100644 --- a/src/view/CheckersCanvas.java +++ b/src/view/CheckersCanvas.java @@ -9,6 +9,11 @@ import model.Location; +/** + * Represents the canvas on which the checkers board is drawn. + * @author john + * + */ @SuppressWarnings("serial") public class CheckersCanvas extends JPanel { diff --git a/src/view/CheckersWindow.java b/src/view/CheckersWindow.java index a1e92bc..d554b61 100644 --- a/src/view/CheckersWindow.java +++ b/src/view/CheckersWindow.java @@ -7,6 +7,12 @@ import javax.swing.JMenuBar; import javax.swing.JMenuItem; +/** + * Represents the JFrame window that will hold the graphical components + * of the game. + * @author john + * + */ @SuppressWarnings("serial") public class CheckersWindow extends JFrame { /* Constants for the size of the window */ diff --git a/src/view/GameEventListener.java b/src/view/GameEventListener.java index b57aa30..a6f3488 100644 --- a/src/view/GameEventListener.java +++ b/src/view/GameEventListener.java @@ -9,6 +9,11 @@ import javax.swing.JOptionPane; +/** + * Represents an object which listens for any events which occur in the UI + * @author john + * + */ public class GameEventListener implements MouseListener, KeyListener, ActionListener { /** diff --git a/src/view/GamePanel.java b/src/view/GamePanel.java index a78054f..bb1b88e 100644 --- a/src/view/GamePanel.java +++ b/src/view/GamePanel.java @@ -6,6 +6,12 @@ import javax.swing.JLabel; import javax.swing.JPanel; +/** + * Represents the panel which will hold all of the graphical + * components of the game. + * @author john + * + */ @SuppressWarnings("serial") public class GamePanel extends JPanel { private JLabel messageBar;