Changed Grid.java so it now has a paintComponent() method rather than paintComponents(), as this was causing the components to not appear.