GWT in Action: Working with Widgets - Chapter 4

Java Development News:

GWT in Action: Working with Widgets - Chapter 4

By Robert Hanson and Adam Tacy

01 Feb 2007 | TheServerSide.com

 

Download GWT in Action: Working with Widgets

GWT in Action
Easy Ajax with the Google Web Toolkit
By Robert Hanson and Adam Tacy
ISBN: 1-933988-23-1

Widgets are the visible components of a GWT application. For example, buttons, labels, images, or the menu system are all widgets. They are one of three fundamental building blocks of GWT applications, along with panels and events. When a user fires up a GWT application, they are looking at a set of widgets that have been positioned by panels and which react to events. Luckily, GWT provides many different widgets for free, and these include the usual suspects of buttons, textboxes, and menus.

In this excerpt from GWT in Action, we take a closer look at the standard GWT widgets. You'll see that in the GWT world, widgets are modeled as DOM elements but also have a Java object equivalent. It is this dual existence that provides the power of GWT - the ability to write and maintain applications in Java, with all the associated tool support, but to execute those applications in a web browser.

Early chapters of GWT in Action are now available online via Manning’s early access program. Click here to learn more and start reading it today.

Biographies

Robert Hanson is a US-based senior Internet engineer and creator of the popular open source GWT Widget Library found at http://gwt-widget.sourceforge.net.

Adam Tacy is a consultant working for WM-Data in the Nordics and a contributor to the GWT Widget Library project.