Search in sources :

Example 1 with AboutInfoController

use of de.carne.jfx.scene.control.aboutinfo.AboutInfoController in project certmgr by hdecarne.

the class StoreController method onCmdAbout.

@SuppressWarnings("unused")
@FXML
void onCmdAbout(ActionEvent evt) {
    try {
        AboutInfoController aboutInfo = AboutInfoDialog.load(this).setLogo(Images.STORE32);
        aboutInfo.addInfo(getClass().getResource("AboutInfo1.txt"));
        aboutInfo.addInfo(getClass().getResource("AboutInfo2.txt"));
        aboutInfo.addInfo(getClass().getResource("AboutInfo3.txt"));
        aboutInfo.showAndWait();
    } catch (IOException e) {
        Alerts.unexpected(e).showAndWait();
    }
}
Also used : AboutInfoController(de.carne.jfx.scene.control.aboutinfo.AboutInfoController) IOException(java.io.IOException) FXML(javafx.fxml.FXML)

Aggregations

AboutInfoController (de.carne.jfx.scene.control.aboutinfo.AboutInfoController)1 IOException (java.io.IOException)1 FXML (javafx.fxml.FXML)1