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

Method showLicenseDialog

code/src/java/pcgen/gui2/PCGenFrame.java:1596–1612  ·  view source on GitHub ↗
(String title, String htmlString)

Source from the content-addressed store, hash-verified

1594 }
1595
1596 private static void showLicenseDialog(String title, String htmlString)
1597 {
1598 GuiAssertions.assertIsNotJavaFXThread();
1599 if (htmlString == null)
1600 {
1601 htmlString = LanguageBundle.getString("in_licNoInfo"); //$NON-NLS-1$
1602 }
1603 Alert alert = RememberingChoiceDialog.create(
1604 title,
1605 "",
1606 htmlString,
1607 "in_licShowOnLoad",
1608 PCGenSettings.OPTIONS_CONTEXT,
1609 PCGenSettings.OPTION_SHOW_LICENSE
1610 );
1611 GuiUtility.runOnJavaFXThreadNow(alert::showAndWait);
1612 }
1613
1614 private static void showMatureDialog(final String text)
1615 {

Callers 2

showOGLDialogMethod · 0.95
showLicensesMethod · 0.80

Calls 4

getStringMethod · 0.95
createMethod · 0.95
runOnJavaFXThreadNowMethod · 0.95

Tested by

no test coverage detected