net.sf.launch4j.formimpl.MainFrame Java Examples
The following examples show how to use
net.sf.launch4j.formimpl.MainFrame.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Main.java From beast-mcmc with GNU Lesser General Public License v2.1 | 6 votes |
public static void main(String[] args) { try { Properties props = Util.getProperties(); setDescription(props); if (args.length == 0) { ConfigPersister.getInstance().createBlank(); MainFrame.createInstance(); } else if (args.length == 1 && !args[0].startsWith("-")) { ConfigPersister.getInstance().load(new File(args[0])); Builder b = new Builder(Log.getConsoleLog()); b.build(); } else { System.out.println(_description + Messages.getString("Main.usage") + ": launch4j config.xml"); } } catch (Exception e) { Log.getConsoleLog().append(e.getMessage()); System.exit(1); } }
Example #2
Source File: Main.java From PyramidShader with GNU General Public License v3.0 | 6 votes |
public static void main(String[] args) { try { Properties props = Util.getProperties(); setDescription(props); if (args.length == 0) { ConfigPersister.getInstance().createBlank(); MainFrame.createInstance(); } else if (args.length == 1 && !args[0].startsWith("-")) { ConfigPersister.getInstance().load(new File(args[0])); Builder b = new Builder(Log.getConsoleLog()); b.build(); } else { System.out.println(_description + Messages.getString("Main.usage") + ": launch4j config.xml"); } } catch (Exception e) { Log.getConsoleLog().append(e.getMessage()); } }
Example #3
Source File: Main.java From jmkvpropedit with BSD 2-Clause "Simplified" License | 6 votes |
public static void main(String[] args) { try { Properties props = Util.getProperties(); setDescription(props); if (args.length == 0) { ConfigPersister.getInstance().createBlank(); MainFrame.createInstance(); } else if (args.length == 1 && !args[0].startsWith("-")) { ConfigPersister.getInstance().load(new File(args[0])); Builder b = new Builder(Log.getConsoleLog()); b.build(); } else { System.out.println(_description + Messages.getString("Main.usage") + ": launch4j config.xml"); } } catch (Exception e) { Log.getConsoleLog().append(e.getMessage()); System.exit(1); } }