Changing SmartGWT theme

smart gwt now has 5 themes. since version 1.0b2 all themes (apart from the default) are located in a seperate .tar file, smartgwt-skins.tar.
The themes to chose from are:

  • enterprise (default) (from version 1.0b2)
  • blackops
  • treefrog
  • silverwave
  • fleet (from version 2.0b3)

If you want to change the theme you need to add smartgwt-skins.tar first once this is done you can change the theme by adding one of the folloing lines to the projectname.gwt.xml file (where you added the smartgwt inherits).

<inherits name=”com.smartclient.theme.silverwave.SilverWave”/>
<inherits name=”com.smartclient.theme.blackops.BlackOps”/>
<inherits name=”com.smartclient.theme.treefrog.TreeFrog”/>
<inherits name=”com.smartclient.theme.fleet.Fleet”/>

Took some screen of the showcase in every skin:

Advertisement

3 Responses to Changing SmartGWT theme

  1. Milena says:

    I really love this blog… thanks a lot!

  2. Jeevananth says:

    Good.
    But i want know about changing the themes dynamically.
    Can you help ?
    thank in adv.

  3. Mark Johnson says:

    Hi,

    Search for “Getting started with smartGWT” or something similar and it should return several good blog postings (e.g. http://uptick.com.au/content/create-gwt-project and http://hilloldebnath.byethost3.com/2009/08/29/smartgwt-a-getting-started-guide/).

    Good luck
    Mark

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.