Button btn = new Button( choicePanel, SWT.NONE );
btn = new Button( cBottom, SWT.NONE );
	public static void main( String[] args )	{		Chart3DViewer c3dViewer = new Chart3DViewer( );		GridLayout gl = new GridLayout( );		gl.numColumns = 1;		Display d = Display.getDefault( );		Shell sh = new Shell( d );		sh.setSize( 600, 400 );		sh.setLayout( gl );		sh.setText( c3dViewer.getClass( ).getName( ) + " [device="//$NON-NLS-1$				+ c3dViewer.idr.getClass( ).getName( )				+ "]" );//$NON-NLS-1$		GridData gd = new GridData( GridData.FILL_BOTH );		Canvas cCenter = new Canvas( sh, SWT.NONE );		cCenter.setLayoutData( gd );		cCenter.addPaintListener( c3dViewer );		Composite choicePanel = new Composite( sh, SWT.NONE );		gd = new GridData( GridData.FILL_HORIZONTAL );		choicePanel.setLayoutData( gd );		choicePanel.setLayout( new RowLayout( ) );		Label la = new Label( choicePanel, SWT.NONE );		la.setText( "Choose: " ); //$NON-NLS-1$		Combo cbType = new Combo( choicePanel, SWT.DROP_DOWN | SWT.READ_ONLY );		cbType.add( "3D Bar Chart" ); //$NON-NLS-1$		cbType.add( "3D Line Chart" );//$NON-NLS-1$		cbType.add( "3D Area Chart" );//$NON-NLS-1$		cbType.select( 0 );		Button btn = new Button( choicePanel, SWT.NONE );		btn.setText( "Update" );//$NON-NLS-1$		btn.addSelectionListener( c3dViewer );		c3dViewer.cb = cbType;		c3dViewer.ca = cCenter;		sh.open( );		while ( !sh.isDisposed( ) )		{			if ( !d.readAndDispatch( ) )			{				d.sleep( );			}		}	}