shell = new Shell(Display.getCurrent());
shell = new Shell(Display.getCurrent(), SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL);
    public FontDefinitionDialog(FontDefinition fdCurrent, ColorDefinition cdCurrent)    {        this.fdCurrent = (FontDefinition) EcoreUtil.copy(fdCurrent);        this.cdCurrent = (ColorDefinition) EcoreUtil.copy(cdCurrent);        this.fdBackup = (FontDefinition) EcoreUtil.copy(fdCurrent);        this.cdBackup = (ColorDefinition) EcoreUtil.copy(cdCurrent);        shell = new Shell(Display.getCurrent());        GridLayout gridLayout = new GridLayout();        gridLayout.numColumns = 2;        shell.setLayout(new FillLayout());        placeComponents();        populateLists();        shell.setText("B.I.R.T Chart Library - Font Definition Dialog:");        shell.setSize(450, 480);        shell.open();        while (!shell.isDisposed())        {            if (!shell.getDisplay().readAndDispatch())            {                shell.getDisplay().sleep();            }        }    }