Can they cohabitate?
Yes.
If I've got a Rich Client built on the SWT platform... but there is a funky-cool-gotta-have-it-Swing-based widget... can I use that widget inside the SWT app?
Yes. The SWT_AWT class in SWT is a factory for creating AWT Frame instances that can be embedded in a special type of SWT Composite created with the SWT.EMBEDDED constant.
What happens if you need/want to extend an SWT widget? How does that differ
good/bad from extending a Swing widget?
There are two types of SWT widgets: heavy-weight and light-weight. The heavy-weight widgets are thin wrappers around native components. These cannot be extended (although because the implementation classes are not declared final, you can poke around a bit and have fun -- or more accurately, experience frustration). The light-weight components are rendered by SWT itself, and can therefore be modified.
All Swing widgets are light-weight and can be modified to your heart's content.
I suspect the Swing stuff would "just work" everywhere...but extending SWT would be a more complicated by the native implementation(s). Am I wrong/right?
Essentially right. This is the drawback of SWT -- you get the native widgets, love 'em or hate 'em.
Ben
Thanks, Tim
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
