GWT Themes and Component Libraries

2019-06-20 08:00发布

问题:

Are there any good themes or component libraries for GWT? The built-in themes are rather plain for my purposes. I've seen gwt-ext and smartgwt, but those aren't that great looking. Are there any others that have a real nice look? I know of vaadin an I really really like the look, but from what I understand that just an entirely new framework.

回答1:

The first thing to be careful of is that there are two frameworks which use EXT and GWT:

  • GWT-Ext
  • Ext GWT

Both are based on the Ext JS component library.

Gwt-Ext is based on an old version of Ext JS when it was still LGPL but is no longer developed.

Ext GWT is from the same company who are still developing Ext JS. It's still being developed and is available under free and commercial licenses, and of the two is the one I would use.

SmartGWT is an alternative (and is what the GWT-Ext people are moving to). A colleague of mine looked at it and did not like it as much as Ext GWT as it's a fairly thin wrapper around the SmartClient JavaScript whereas Ext GWT has quite a lot of Java code. The difference being that if you run an Ext GWT application in Hosted Mode and attach your debugger you can see what Ext GWT is doing, but with SmartGWT you'll just see lots of IDispatch calls where it disappears into native JavaScript where your debugger won't be able to follow.



回答2:

There are some themes developed for EXT GWT that can be found at:

Olive Theme: http://extjs.com/forum/showthread.php?t=15505 Dark Grey Theme: http://extjs.com/forum/showthread.php?t=15341 Purple Theme: http://extjs.com/forum/showthread.php?t=15377 Black Theme: http://extjs.com/forum/showthread.php?t=15504

In order to use these themes you will also need to use the EXT GWT widgets instead of the ones supplied with the GWT library.



回答3:

I am also currently evaluating ExtGWT: at least with the new 2.0 release, that just came out today, it is not relying on the ExtJS library but is almost completely written in GWT, which is a nice thing. Exceptions are the chart widgets, wrapping the open flash charts library, that rely on additional javascript (plus flash obviously).



回答4:

Try Extjs GWT basically is the same framework of ext-gwt but in another approach.

Searching in google in found another:

  • http://gwt.components.googlepages.com/
  • http://advanced-gwt.sourceforge.net/
  • http://www.gwtsite.com/top-5-gwt-libraries/

For me Extjs GWT is the best you can find, and is developed by an foundation, this means you have support.