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

Method showInfoMessage

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

Source from the content-addressed store, hash-verified

1425 }
1426
1427 @Override
1428 public void showInfoMessage(String title, String message)
1429 {
1430 GuiAssertions.assertIsNotJavaFXThread();
1431 Alert alert = GuiUtility.runOnJavaFXThreadNow(() -> new Alert(Alert.AlertType.INFORMATION));
1432 alert.setTitle(title);
1433 alert.setContentText(message);
1434 GuiUtility.runOnJavaFXThreadNow(alert::showAndWait);
1435 }
1436
1437 @Override
1438 public void showWarningMessage(String title, String message)

Callers

nothing calls this directly

Calls 3

runOnJavaFXThreadNowMethod · 0.95
setTitleMethod · 0.65

Tested by

no test coverage detected