shellPopup = new Shell( shell, SWT.DIALOG_TRIM | SWT.RESIZE );
int shellStyle = SWT.DIALOG_TRIM | SWT.RESIZE; if ( SWT.getPlatform( ).indexOf( "win32" ) < 0 ) { shellStyle |= SWT.APPLICATION_MODAL; } shellPopup = new Shell( shell, shellStyle );
	public Shell createPopupContainer( )	{		// CLEAR ANY EXISTING POPUP		if ( shellPopup != null && !shellPopup.isDisposed( ) )		{			shellPopup.dispose( );		}		// CREATE AND DISPLAY THE NEW POPUP		if ( shellPopup == null || shellPopup.isDisposed( ) )		{			shellPopup = new Shell( shell, SWT.DIALOG_TRIM | SWT.RESIZE );			shellPopup.setLayout( new FillLayout( ) );		}		return shellPopup;	}