Program entry point. @param args The command line arguments.
(String[] args)
| 30 | * @param args The command line arguments. |
| 31 | */ |
| 32 | public static void main(String[] args) { |
| 33 | |
| 34 | // Properties that must be set before amy AWT classes are loaded. |
| 35 | // Note that some of these are also configured for our installable |
| 36 | // package via jpackage, but are also set here for testing before |
| 37 | // releases |
| 38 | MacOSUtil.setApplicationName("RText"); |
| 39 | MacOSUtil.setApplicationAppearance(MacOSUtil.AppAppearance.SYSTEM); |
| 40 | |
| 41 | RTextAppContext context = new RTextAppContext(); |
| 42 | SwingUtilities.invokeLater(() -> context.createApplication(args).setVisible(true)); |
| 43 | } |
| 44 | } |
nothing calls this directly
no test coverage detected