MCPcopy Create free account
hub / github.com/PCGen/pcgen / showErrorMessage

Method showErrorMessage

code/src/java/pcgen/gui2/PCGenFrame.java:1417–1425  ·  view source on GitHub ↗
(String title, String message)

Source from the content-addressed store, hash-verified

1415 }
1416
1417 @Override
1418 public void showErrorMessage(String title, String message)
1419 {
1420 GuiAssertions.assertIsNotJavaFXThread();
1421 Alert alert = GuiUtility.runOnJavaFXThreadNow(() -> new Alert(Alert.AlertType.ERROR));
1422 alert.setTitle(title);
1423 alert.setContentText(message);
1424 GuiUtility.runOnJavaFXThreadNow(alert::showAndWait);
1425 }
1426
1427 @Override
1428 public void showInfoMessage(String title, String message)

Callers 3

showSavePartyChooserMethod · 0.95
loadCharacterFromFileMethod · 0.95
loadPartyFromFileMethod · 0.95

Calls 3

runOnJavaFXThreadNowMethod · 0.95
setTitleMethod · 0.65

Tested by

no test coverage detected