public Gui_StreamOptions(Stream stream, Gui_StreamRipStar mainGui,
			boolean createNewStream, boolean setVisible,boolean defaultStream) {
		
		super();
		this.stream = stream;
		this.setVisible = setVisible;
		this.mainGui = mainGui;
		this.createNewStream = createNewStream;
		this.defaultStream = defaultStream;
		
		Stream tmpStream = null;
		
		if(createNewStream && !defaultStream) {
			setTitle("Create New Stream");
			tmpStream = new Stream("",Stream.getNewStreamID());
			realyPortField.setText(""+(8000+tmpStream.id));
		} 
		//Set basic proportions and Objects
		init();
		//Set the best default values
		setDefaults();
		
		if(createNewStream && !defaultStream) {
			//load the default stream
			this.stream = mainGui.getControlStream().getDefaultStream();
			
			// if stream exist (!= null) load this components
			if(this.stream != null)
				load();
			
			//set new stream to stream
			this.stream = tmpStream;
		}
		
		if(!createNewStream) {
			if(stream != null)
				load();
			else
				this.stream = new Stream("defaultName",0);
			
			if(!defaultStream) {
				setTitle("Stream Options");
			}
			else {
				setTitle("Edit Default Options");
				streamNameTF.setEditable(false);
				streamURLTF.setEditable(false);
			}
		}
		
		
		//set Language for all textfiels, Labels etc
		setLanguage();
		//after set the best Values -> repaint guis
		repaintMainGui();
		repaintCodesetAndSplitpointPanel();
		
		setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
		addWindowListener(this);
	}