if (args.length > 1 && args[0].equals( "-c" )) { PreferenceLoader.initialize( args[1] ); String newArgs[] = new String[args.length - 2]; for (int i = 2; i < args.length; i++) { newArgs[i-2] = args[i]; System.out.println(newArgs[i-2]);
if ( args.length > 1 && args[ 0 ].equals( "-c" ) ) { PreferenceLoader.initialize( args[ 1 ] ); String[] newArgs = new String[ args.length - 2 ]; for ( int i = 2; i < args.length; i++ ) { newArgs[ i - 2 ] = args[ i ]; System.out.println( newArgs[ i - 2 ] );
    public static void main( String[] args ) {        display = new Display();        G2GuiResources.initialize();                // -c <path/preferenceFile>        if (args.length > 1 && args[0].equals( "-c" )) {        	PreferenceLoader.initialize( args[1] );        	String newArgs[] = new String[args.length - 2];        	for (int i = 2; i < args.length; i++) {        		newArgs[i-2] = args[i];        		System.out.println(newArgs[i-2]);        	}        	args = newArgs;        	        } else {			PreferenceLoader.initialize();        }           preferenceStore = PreferenceLoader.getPreferenceStore();        launch( args );    }