Combining SWT and Swing Control [message #101545] |
Tue, 09 August 2005 07:03 |
Eclipse User |
|
|
|
Originally posted by: davidyoung_2001.yahoo.co.uk
First let me say I'm new to Java, so I apologise in advance if what I'm
asking is obvious......
I'm trying to build an application with the Visual Editor with both a Menu
(Swing Controls) and a Toolbar (SWT Controls) but the VE does not let me -
is it possible to have both sets of controls within the same application -
if not how do I go about doing the above
|
|
|
Re: Combining SWT and Swing Control [message #101613 is a reply to message #101545] |
Tue, 09 August 2005 13:03 |
Eclipse User |
|
|
|
Originally posted by: myersj.gmail.com
David,
Generally it's a bad idea to mix Swing and SWT unless you have a serious
requirement to do so. The means to mix the two (SWT_AWT bridge) is
pretty much a hack and can have unexpected behaviors. The VE does not
support mixing the two widget systems directly. You'd be much better
off picking either Swing or SWT and writing your entire app using one
widget set.
Hope this helps,
- Jeff
David wrote:
> First let me say I'm new to Java, so I apologise in advance if what I'm
> asking is obvious......
>
> I'm trying to build an application with the Visual Editor with both a
> Menu (Swing Controls) and a Toolbar (SWT Controls) but the VE does not
> let me - is it possible to have both sets of controls within the same
> application - if not how do I go about doing the above
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03006 seconds