try { bv = new BoardView1(game, frame); } catch (IOException e) { new AlertDialog(frame,"Fatal Error", "Could not initialise:\n"+e); frame.dispose(); };
    public BoardEditor() {        Settings.load();        this.addKeyListener(bv);        this.addKeyListener(this);        bv.addKeyListener(this);        board.addBoardListener(this);        bv.setUseLOSTool(false);        setupEditorPanel();        setupFrame();        frame.show();        new AlertDialog(frame, "Please read the editor-readme.txt", "Instructions for using the editor may be found in editor-readme.txt.").show();    }