public void importFrom(InputStream stream) throws IOException { // 1. wipe the view boardView.reset(); // 2. instantiate new model and load new data board = new Board(); board.loadFrom(stream); board.calculateAllHints(); // 3. redraw view updateEntireView(); // 4. setup controller boardView.setOnKeyPressed(this); boardView.requestFocus(); // 5. reset timer timer.reset(); }