public void load()
	{
		//load all properties for the checkboxes
		allInOneCheckBox.setSelected(stream.singleFileCB);
		lengthRecordCheckBox.setSelected(stream.maxTimeCB);
		maxSizeMBCheckBox.setSelected(stream.maxMBCB);
		runIndexCheckBox.setSelected(stream.sequenzCB);
		patternCheckBox.setSelected(stream.patternCB);
		
		if(stream.completeCB == 0)
			overWriteVersionCheckBox.setSelected(true);
		else if (stream.completeCB == 1)
			overWriteAllCheckBox.setSelected(true);
		else if (stream.completeCB == 2)
			overWriteNeverCheckBox.setSelected(true);
		else
			overWriteLargerCheckBox.setSelected(true);
		
		truncateCheckBox.setSelected(stream.cutSongIncompleteCB);
		dontOverCheckBox.setSelected(stream.neverOverIncompCB);
		noDirForStreamCheckBox.setSelected(stream.noDirEveryStreamCB);
		dCreateInvTracksCheckBox.setSelected(stream.noIndiviSongsCB);
		relayServerCheckBox.setSelected(stream.createReayCB);
		relayConnect.setSelected(stream.connectToRelayCB);
		createRelayFileCB.setSelected(stream.createPlaylistRelayCB);
		dontScanPortCheckBox.setSelected(stream.dontSearchAltPortCB);
		dontReconnectCheckBox.setSelected(stream.dontAutoReconnectCB);
		timeoutReconnectCheckBox.setSelected(stream.timeoutReconnectCB);
		proxyCheckBox.setSelected(stream.proxyCB);
		useragentCheckBox.setSelected(stream.useragentCB);
		skipTracksCheckBox.setSelected(stream.countBeforStartCB);
		metaDataRuleFileCB.setSelected(stream.metaDataCB);
		interfaceCB.setSelected(stream.interfaceCB);
		externalCmdMetaDataCB.setSelected(stream.externMetaDataCB);
		freeArgumentCB.setSelected(stream.extraArgsCB);
		codesetRelayCB.setSelected(stream.CSRelayCB);
		codesetMetadataCB.setSelected(stream.CSMetaCB);
		codesetID3CB.setSelected(stream.CSIDTagCB);
		codesetFilesysCB.setSelected(stream.CSFileSysCB);
		xs2CB.setSelected(stream.XS2CB);
		xsOffsetCB.setSelected(stream.SPDelayCB);
		xsPaddingCB.setSelected(stream.SPExtraCB);
		xsSearchCB.setSelected(stream.SPWindowCB);
		xsSilenceCB.setSelected(stream.SPSilenceCB);
		id3tagV1CB.setSelected(stream.IDV1CB);
		id3tagV2CB.setSelected(stream.IDV2CB);
		
		//load all strings for the textfields
		streamNameTF.setText(stream.name);
		streamURLTF.setText(stream.address);
		streamCommentTF.setText(stream.comment);
		streamWebsiteTF.setText(stream.website);
		streamGenreTF.setText(stream.genre);
		allInOneSaveField.setText(stream.singleFileTF);
		lengthRecordHourField.setText(stream.maxTimeHHTF);
		lengthRecordMinuteField.setText(stream.maxTimeMMTF);
		lengthRecordSecondField.setText(stream.maxTimessTF);
		maxSizeMBField.setText(stream.maxMBTF);
		runIndexField.setText(stream.sequenzTF);
		patternField.setText(stream.patternTF);
		if(!createNewStream) {
			realyPortField.setText(stream.relayServerPortTF);
		}
		realyConnectionsField.setText(stream.maxConnectRelayTF);
		createRelayFileTF.setText(stream.relayPlayListTF);
		timeoutReconnectField.setText(stream.timeOutReonTF);
		proxyField.setText(stream.proxyTF);
		useragentField.setText(stream.useragentTF);
		skipTracksField.setText(stream.sciptSongsTF);
		metaDataRuleFileTF.setText(stream.metaDataFileTF);
		interfaceTF.setText(stream.interfaceTF);
		externalCmdMetaDataTF.setText(stream.externTF);
		freeArgumentTF.setText(stream.extraArgsTF);
		codesetRelayTF.setText(stream.CSRelayTF);
		codesetMetadataTF.setText(stream.CSMetaDataTF);
		codesetID3TF.setText(stream.CSIDTF);
		codesetFilesysTF.setText(stream.CSFileSysTF);
		xsOffsetTF.setText(stream.SPDelayTF);
		xsPadding1TF.setText(stream.SPExtraTF1);
		xsPadding2TF.setText(stream.SPExtraTF2);
		xsSearch1TF.setText(stream.SPWindowTF1);
		xsSearch2TF.setText(stream.SPWindowTF2);
		xsSilenceTF.setText(stream.SPSilenceTF);
	}