shell.layout();
    public static final void main(String[] sa)    {        Display d = new Display();        Shell shell = new Shell(d);        shell.setLayout(new FillLayout());        // A SAMPLE PALETTE        PaletteEditorComposite pe = new PaletteEditorComposite(shell, PaletteImpl.create(1, false));        shell.setSize(300, 500);        shell.open();        while (!shell.isDisposed())        {            if (!d.readAndDispatch())            {                d.sleep();            }        }    }