Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Swing default button with SWT_AWT
Swing default button with SWT_AWT [message #437584] Tue, 08 June 2004 09:31 Go to next message
Eclipse UserFriend
Originally posted by: conoros.garryard.com

Hi,
I am currently investigating changing a swing product over to SWT.
Because of time constraints we cannont rewrite the whole application in
one go. We are trying to create the main app with SWT and use SWT_AWT to
wrap up the old swing dialogs in SWT shells.

This is done by using the same swing dialog but popping the widgets onto a
JPanel and then onto the Frame that comes back from SWT_AWT.
This is working very well except for one show stopper. I cannot seem to
set the default button on the dialog.

Has anyone any idea how I can set a default button for this dialog?

Many thanks in advance,
Conor.
Re: Swing default button with SWT_AWT [message #437602 is a reply to message #437584] Tue, 08 June 2004 18:00 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Default SWT button or default Swing button?

"Conor O'Sullivan" <conoros@garryard.com> wrote in message
news:ca4114$h5n$1@eclipse.org...
> Hi,
> I am currently investigating changing a swing product over to SWT.
> Because of time constraints we cannont rewrite the whole application in
> one go. We are trying to create the main app with SWT and use SWT_AWT to
> wrap up the old swing dialogs in SWT shells.
>
> This is done by using the same swing dialog but popping the widgets onto a
> JPanel and then onto the Frame that comes back from SWT_AWT.
> This is working very well except for one show stopper. I cannot seem to
> set the default button on the dialog.
>
> Has anyone any idea how I can set a default button for this dialog?
>
> Many thanks in advance,
> Conor.
>
>
Previous Topic:Win32 Control.setCapture behavior
Next Topic:Win32 - Test Recording and Win32 properties
Goto Forum:
  


Current Time: Tue Apr 16 10:34:47 GMT 2024

Powered by FUDForum. Page generated in 0.23381 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top