/** * Go through all of the current books checking to see if we need to replace * the current defaults with one of these. */ protected static void checkAllPreferable() { for (Book book : Books.installed().getBooks()) { checkPreferable(book); } }
public void bookAdded(BooksEvent ev) { Book book = ev.getBook(); checkPreferable(book); refreshBooks(); }