dataSetChooser.setItems( newList );
DataSetHandle DataSetHandle = (DataSetHandle) iterator.next( ); dataSetList.add( DataSetHandle.getQualifiedName( ) ); } if ( !dataSetList.contains( inputParameter.getDataSetName( ) ) ) { dataSetList.add( 0, inputParameter.getDataSetName( ) ); }  if ( oldList.length != dataSetList.size( ) ) { dataSetChooser.setItems( (String[]) dataSetList.toArray( new String[]{} ) );
	private void refreshDataSets( )	{		String selectedDataSetName = dataSetChooser.getText( );		String[] oldList = dataSetChooser.getItems( );		String[] newList = ChoiceSetFactory.getDataSets( );		if ( oldList.length != newList.length )		{			dataSetChooser.setItems( newList );			if ( StringUtil.isBlank( selectedDataSetName ) )			{				dataSetChooser.select( 0 );				refreshColumns( false );			}			else			{				dataSetChooser.setText( selectedDataSetName );			}		}	}