Download GWT in Action: Working with Widgets
GWT in Action
Easy Ajax with the Google Web Toolkit
By Robert Hanson and Adam Tacy
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.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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.
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.