Performances accrues par l'ajout d'un argument Java

This commit is contained in:
galaxyoyo 2015-01-12 22:21:08 +01:00
parent 6d8082cafe
commit 9e98b7546b
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ public class Main
*/ */
public static void main(String ... args) public static void main(String ... args)
{ {
System.setProperty("sun.java2d.noddraw", "true");
Locale.setDefault(Locale.FRANCE); Locale.setDefault(Locale.FRANCE);
DEV = Main.class.getClassLoader().getResource("/META-INF/MANIFEST.MF") == null; DEV = Main.class.getClassLoader().getResource("/META-INF/MANIFEST.MF") == null;