public void checkBookmarks() throws IOException {
        for (Bookmark bookmark : bookmarksService.getBookmarks()) {
            bookmarksService.doCheck(bookmark);
            JavaFxUtils.getController(BookmarksController.class).bookmarksTableView.refresh();
        }
        JavaFxUtils.getController(BookmarksController.class).tableView.setUserData(null);
        JavaFxUtils.getController(BookmarksController.class).webView.setUserData(null);
        //TODO refresh current bookmark if not SAME
        if (currentBookmark != null/* && JavaFxUtils.currentBookmark.getStatus() == BookmarkStatus.CHANGED*/) {
            JavaFxUtils.getController(BookmarksController.class).refresh();
        }
    }
public void checkBookmarks() throws IOException {
        for (Bookmark bookmark : bookmarksService.getBookmarks()) {
            bookmarksService.doCheck(bookmark);
            JavaFxUtils.getController(BookmarksController.class).bookmarksTableView.refresh();
        }
        JavaFxUtils.getController(BookmarksController.class).tableView.setUserData(null);
        JavaFxUtils.getController(BookmarksController.class).webView.setUserData(null);
       
        if (currentBookmark != nul) {
            JavaFxUtils.getController(BookmarksController.class).refresh();
        }
    }
public void checkbookmarks() throws ioexception { for (bookmark bookmark : bookmarksservice.getbookmarks()) { bookmarksservice.docheck(bookmark); javafxutils.getcontroller(bookmarkscontroller.class).bookmarkstableview.refresh(); } javafxutils.getcontroller(bookmarkscontroller.class).tableview.setuserdata(null); javafxutils.getcontroller(bookmarkscontroller.class).webview.setuserdata(null); if (currentbookmark != nul) { javafxutils.getcontroller(bookmarkscontroller.class).refresh(); } }