updateButton( );
	private void switchTo( int type )	{		if ( type == selectedType )		{			// If the selected type is same with the current type,			// Do nothing.			return;		}		// Clear the current Input Area contents.		selectedType = type;		Control[] controls = inputArea.getChildren( );		for ( int i = 0; i < controls.length; i++ )		{			controls[i].dispose( );		}		// Rearrange the layout and contents of Input Area.		switch ( type )		{			case URI_TYPE :				swtichToURIType( );				break;			case LOCAL_TYPE :				swtichToListType( );				break;		}		inputArea.layout( );	}