Returns an initiliazed instance of bookError component. @return the initialized component instance
()
| 880 | * @return the initialized component instance |
| 881 | */ |
| 882 | public Alert getBookError() { |
| 883 | if (bookError == null) {//GEN-END:|101-getter|0|101-preInit |
| 884 | // write pre-init user code here |
| 885 | bookError = new Alert("Sorry!", "Sorry, cannot open this book: " + getLoadBook().getTask().getFailureMessage() + ".", null, AlertType.WARNING);//GEN-BEGIN:|101-getter|1|101-postInit |
| 886 | bookError.addCommand(getDISMISS_COMMAND()); |
| 887 | bookError.setCommandListener(this); |
| 888 | bookError.setTimeout(Alert.FOREVER);//GEN-END:|101-getter|1|101-postInit |
| 889 | // write post-init user code here |
| 890 | }//GEN-BEGIN:|101-getter|2| |
| 891 | return bookError; |
| 892 | } |
| 893 | //</editor-fold>//GEN-END:|101-getter|2| |
| 894 | |
| 895 | //<editor-fold defaultstate="collapsed" desc=" Generated Method: lastBookAvailable ">//GEN-BEGIN:|134-if|0|134-preIf |
no test coverage detected