[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: How to make a Button the default which will be "pressed" by the Enter key?

Thanks Alex!!!

Alex Chapiro wrote:

> getShell().setDefaultButton();

> "Bill" <whb2355@xxxxxxxxxxxxx> wrote in message
> news:b2e9in$fs8$1@xxxxxxxxxxxxxxxx
> > How would you make a button on a SWT shell or ApplicationWindow the
> > "default" button, the button which would be "pressed" when the Enter key
> > is typed?
> >
> > Thanks
> > Bill
> >