public void updatePanel()
    {
        for (int i=0; i<displayCells.length; i++)
            {
                for (int j=0; j<displayCells[0].length; j++)
                    {
                        if (universe.board[i][j] == Universe.State.ALIVE)
                            displayCells[i][j].setBackground(liveColor);
                        else
                            displayCells[i][j].setBackground(deadColor);
                    }
            }
    }