views:

1099

answers:

2

Does gwt have (good) support for effects, moving around elements, and resizing them? Are there any possible limitations GWT might bring to the table?

+3  A: 

Yes you can use the Google Web Toolkit in Desktop. I use it with Adobe Air. After you compile GWT only generate JS files. But GWT in my point of view is very limited in effects.

If you want use web tecnologies in desktop why don't use Extjs is js framework with cool aspect and good libraries of effects and components. With Adobe Air is like an Desktop app.

pho3nix
He's not talking about using it on the desktop, he's talking about using it in a "desktop like web app". But +1 anyway, ExtJs rocks.
musicfreak
I don't think he's looking to deploy to the desktop. I think he wants a web app that feels like a desktop app.
Nosredna
+4  A: 

The GWT API does not support all of these things natively. The newest versions of GWT have support for animation, however.

The useful thing about GWT is that it is an abstraction above javascript and it supports reuse through java in a much deeper way than javascript ever can.

Check this out if you're impressed with ExtJs. The showcase for gwt-ext should show the types of things that you can do with ExtJs but that GWT supports with the full power of Java. Of particular interest to you may be the portal and drag-and-drop examples. Setting up drop targets, dragging things around, and resizing things are where its at. The gwt-ext and ExtJs libraries support these things. It's up to you what level of abstraction you want to choose.

If the added overhead of all the ExtJs libraries are too much for you in gwt-ext then the gxt project from ExtJs may be more your speed. This is a pure java implementation of ExtJs and (as such) only the widgets you need are compiled. This reduces overhead but does not have all of the features that gwt-ext has.

Bottom line: GWT has powerful abstractions that you can build on to produce whatever you want. If you're not comfortable with building from scratch, you'll need another library.

angryundead
gwt-ext and gxt looks very promising. But what is the difference between the two? They both seem like Java APIs that work with GWT.. am I mistaken?
jcee14
GXT is a pure Java implementation of all the features in ExtJs. It does not have the ExtJs scripts as a dependency. The gwt-ext library does have ExtJs as a dependency and is "simply" a Java wrapper/interface to it that works with GWT. GXT will probably be more performant but may be missing features found in gwt-ext.
angryundead