public GameSWT(Display display, AbstractGame game) {
        this.display = display;
        this.game = game;
        shell = new Shell(display, SWT.SHELL_TRIM & (~SWT.MAX) & (~SWT.RESIZE));
        shell.setText("Game of Life");
        init();
        if (!shell.isDisposed()) {
            game.addObserver(new GameObserver());
            shell.pack();
            centerOnClientArea();
        }
    }