David Chandler's Journal of Java Web and Mobile Development

  • David M. Chandler

    Web app developer since 1994 and Google Cloud Platform Instructor now residing in Colorado. Besides tech, I enjoy landscape photography and share my work at ColoradoPhoto.gallery.

  • Subscribe

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 224 other subscribers
  • Sleepless Nights…

    March 2011
    S M T W T F S
  • Blog Stats

    • 1,040,365 hits

Archive for March 23rd, 2011

A (partially) updated SliderBar for GWT 2.2

Posted by David Chandler on March 23, 2011

The GWT team announced a while back that most of the stuff in the GWT incubator would be moving to GWT proper (including the powerful new cell widgets) and the incubator project would no longer be supported. One of my favorite widgets, the SliderBar, has not yet been moved over. It looks like someone has posted an incubator jar for 2.2, but before I realized that, I extracted the SliderBar from the incubator code, simplified the resource packaging a bit, and updated all the deprecated classes to work with 2.2. It’s not implemented as a Cell so probably won’t play nice with CellTables, but it’s otherwise functional. You can find the code in my listwidget sample project.

To use it in your project, just pull in the source or export it as a jar and remember to put the following in your gwt.xml file:

<inherits name='com.google.gwt.gen2.gen2'/>

Happy sliding!


Posted in Google Web Toolkit | 12 Comments »

%d bloggers like this: