this.inputText.add( this.inputText.getText(), 0 ); this.albumText.add( this.albumText.getText(), 0 ); this.artistText.add( this.artistText.getText(), 0 );
if ( this.inputText.indexOf( input ) != -1 ) this.inputText.remove( input ); this.inputText.add( input, 0 );  if ( this.albumText.indexOf( album ) != -1 ) this.albumText.remove( album ); this.albumText.add( album, 0 );  if ( this.artistText.indexOf( artist ) != -1 ) this.artistText.remove( artist ); this.artistText.add( artist, 0 );
    public void performSearch() {        if ( inputText.getText().equals( "" )             && artistText.getText().equals( "" )             && albumText.getText().equals( "" ) ) return;		this.inputText.add( this.inputText.getText(), 0 );		this.albumText.add( this.albumText.getText(), 0 );		this.artistText.add( this.artistText.getText(), 0 );				/* create an empty query */        query = new SearchQuery( core );		/* set our input fields */        query.setMp3Title( inputText.getText() );        query.setMp3Album( albumText.getText() );        query.setMp3Artist( artistText.getText() );		/* the bitrate */        String bitRateString = bitrateCombo.getText();		if ( !bitRateString.equals( "" ) ) {			int rate = new Integer( bitRateString.substring( 0, bitRateString.length() - 2 ) ).intValue();			query.setMp3Bitrate( new Integer( rate ).toString() );		}		/* set the remaining input fields and send the query */        super.performSearch();        /* draw the empty search result */        String aString = inputText.getText() + " " + artistText.getText() + " " + albumText.getText();        new SearchResult( aString.trim(), tab.getCTabFolder(),        	 core, query.getSearchIdentifier(), this.tab );    }