if (connected){ this.options = mldonkey.getOptions(); BusyIndicator.showWhile(null,new Runnable(){ public void run() { while (!(options.keySet().contains("client_name"))){ } }}); clientName = ( ( OptionsInfo ) options.get( "client_name" ) ).getValue();  maxHardUploadRate = ( ( OptionsInfo ) options.get( "max_hard_upload_rate" ) ).getValue();  maxHardDownloadRate = ( ( OptionsInfo ) options.get( "max_hard_download_rate" ) ).getValue();  Boolean hell = new Boolean("false");  autoCommit = ( new Boolean ( ( ( OptionsInfo ) options.get( "auto_commit" ) ).getValue() ) ).booleanValue();  } else { clientName = res.getString("OPTIONS_NOT_CONNECTED"); maxHardUploadRate = res.getString("OPTIONS_NOT_CONNECTED"); maxHardDownloadRate = res.getString("OPTIONS_NOT_CONNECTED"); }
	public General( PreferenceStore preferenceStore_, boolean connected, CoreCommunication mldonkey ) {		super( "General Settings" );					this.connected = connected;				this.mldonkey = mldonkey;				if (connected){			this.options = mldonkey.getOptions();					BusyIndicator.showWhile(null,new Runnable(){						public void run() {				while (!(options.keySet().contains("client_name"))){										}								}});			clientName = 				( ( OptionsInfo ) options.get( "client_name" ) ).getValue();						maxHardUploadRate = 					( ( OptionsInfo ) options.get( "max_hard_upload_rate" ) ).getValue();						maxHardDownloadRate = 					( ( OptionsInfo ) options.get( "max_hard_download_rate" ) ).getValue();						Boolean hell = new Boolean("false");						autoCommit = ( new Boolean (				( ( OptionsInfo ) options.get( "auto_commit" ) ).getValue() ) 										).booleanValue();					}		else {			clientName = res.getString("OPTIONS_NOT_CONNECTED");			maxHardUploadRate = res.getString("OPTIONS_NOT_CONNECTED");			maxHardDownloadRate = res.getString("OPTIONS_NOT_CONNECTED");		}					}		