Christian Catchpole wrote:
You can embed OpenGL panels from LWJGL or JOGL... I've done this.
Works nice. You can even embed Swing panels if you want.
http://www.eclipse.org/swt/opengl/
It's not what I'm talking of. You're referring to a direct use of OpenGL
for 3D stuff and of course
AFAIK that's entirely up to the native peer, how it chooses to render
- there shouldn't be anything preventing SWT from taking advantage of
the GPU. Then again, this topic is more interesting in Swing since the
whole UI effectively has to be emulated whereas SWT is using native
stuff which is
Well, I have co-workers wearing glasses and frankly nobody has ever
complained about Swing :-)
You misunderstand. Try booting up windows in a VM, and then inspect
the widget hierachy of a Swing app using Spy++ or similar. You will
notice there's no way to introspect and extract any information
Right. And interestingly, JSR-295 (beans binding) and JSR-296 (app
framework) was all about living without an explicit model. Swing MVC
is extremely flexible but also complex and verbose making it darn hard
to master (who updates who, and when, in which thread, how to avoid
cycles etc.)
/Casper
The big problem I see with SWT is the native parts (DLL, .so, etc), which
means that an SWT app can't be easily deployed, for example, through
WebStart or as an applet (without having to preinstall shared libs). That is
a killer for some range of apps (one of which I'm working on right now). Of
Oh, and another thing. The current crop of Flex apps has demonstrated that
having a native LF isn't really necessary for many kinds of apps, so it's
probably better to go with something that looks good vs. some half-assed
emulation of native widgets (i.e., Nimbus is beautiful).
-Mario.
--
I want
If Sun does eventually drop or depreciate Swing in favour of JavaFX,
then SWT may be the only way to do desktop apps in Java in the
future. (And thats entirely supposition on my part)
As far as the native vs other look, it depends on the app and the
environment
Sure MP3 players, twitter
True. But the problem is then you are required to write your own
UIDelegates in Swing to get Nimbus to run on that 3'rd part data
picker you tracked down. Flex skinning is a somewhat more approachable
topic with images and CSS (which AFAIK JavaFX has adopted?).
/Casper
On 2 Nov., 11:32, Mario
On Mon, Nov 2, 2009 at 10:51 AM, Steven Herod steven.he...@gmail.com wrote:
If Sun does eventually drop or depreciate Swing in favour of JavaFX,
then SWT may be the only way to do desktop apps in Java in the
future. (And thats entirely supposition on my part)
Doesn't JavaFX use swing behind
Yes, you can skin JavaFX controls with pure code, FXDs, or CSS
On Nov 2, 2009, at 11:52 AM, Casper Bang wrote:
True. But the problem is then you are required to write your own
UIDelegates in Swing to get Nimbus to run on that 3'rd part data
picker you tracked down. Flex skinning is a
JavaFX for mobile has no Swing in it. JavaFX for desktop uses parts of
Swing and Java2D today, but it won't always. JavaFX running on the
next gen graphics stack will have no AWT or Swing in it at all.
However, Swing will always be supported because it's part of core Java
and the JRE. That
Webstart and applets can use native libs with the nativelib element
in JNLP files. It's even easier when you use JNLP extensions. I'm
sure the SWT team has created a standard SWT extension that you can
simply include in your app's JNLP.
- Josh
On Nov 2, 2009, at 11:30 AM, Mario Camou
Mario Camou wrote:
Oh, and another thing. The current crop of Flex apps has demonstrated
that having a native LF isn't really necessary for many kinds of
apps, so it's probably better to go with something that looks good
vs. some half-assed emulation of native widgets (i.e., Nimbus is
Kevin Wright wrote:
So:
AWT = Abstract Windows Toolkit - Wrapper over native components
supplied with java from conception
Swing = Layer over AWT - Much more power in exchange for more complexity.
SWT = Standard Windows Toolkit - IBM supplied kit as used by eclipse,
builds on lessons
Controversial issue. Personally I've always had issues with Swing's
over-engineered and emulating style and felt an application should
look like the native desktop, nothing more and nothing less. Swing is
constantly playing catch up and as soon as you pull in a couple of
3'rd part controls, you
The Posse did an interview with one of the SWT guys a fair while
back. It's a good interview, i recommend it.
Interview with Steve Northover, the Father of SWT
http://javaposse.com/index.php?post_id=119708
--~--~-~--~~~---~--~~
You received this message because
16 matches
Mail list logo