MCPcopy Create free account
hub / github.com/boazy/TWEditorEnhanced / aboutProgram

Method aboutProgram

src/main/java/MainWindow.java:445–491  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

443 }
444
445 private void aboutProgram()
446 {
447 StringBuilder info = new StringBuilder(256);
448 info.append("<html>The Witcher Save Editor Version 2.1<br>");
449
450 info.append("<br>User name: ");
451 info.append(System.getProperty("user.name"));
452
453 info.append("<br>Home directory: ");
454 info.append(System.getProperty("user.home"));
455
456 info.append("<br><br>OS: ");
457 info.append(System.getProperty("os.name"));
458
459 info.append("<br>OS version: ");
460 info.append(System.getProperty("os.version"));
461
462 info.append("<br>OS patch level: ");
463 info.append(System.getProperty("sun.os.patch.level"));
464
465 info.append("<br><br>Java vendor: ");
466 info.append(System.getProperty("java.vendor"));
467
468 info.append("<br>Java version: ");
469 info.append(System.getProperty("java.version"));
470
471 info.append("<br>Java home directory: ");
472 info.append(System.getProperty("java.home"));
473
474 info.append("<br>Java class path: ");
475 info.append(System.getProperty("java.class.path"));
476
477 info.append("<br><br>TW install path: ");
478 info.append(Main.installPath);
479
480 info.append("<br>TW data path: ");
481 info.append(Main.gamePath);
482
483 info.append("<br>Temporary data path: ");
484 info.append(Main.tmpDir);
485
486 info.append("<br>Language identifier: ");
487 info.append(Main.languageID);
488
489 info.append("</html>");
490 JOptionPane.showMessageDialog(this, info.toString(), "About The Witcher Save Editor", 1);
491 }
492
493 private class ApplicationWindowListener extends WindowAdapter
494 {

Callers 1

actionPerformedMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected