int iSelection = cb.getSelectionIndex( ); switch ( iSelection )
if ( e.widget.equals( btn ) )
	public void widgetSelected( SelectionEvent e )	{		int iSelection = cb.getSelectionIndex( );		switch ( iSelection )		{			case 0 :				cm = PrimitiveCharts.createSDialMRegionChart( );				break;			case 1 :				cm = PrimitiveCharts.createMDialMRegionChart( );				break;			case 2 :				cm = PrimitiveCharts.createSDialSRegionChart( );				break;			case 3 :				cm = PrimitiveCharts.createMDialSRegionChart( );				break;		}		ca.redraw( );	}