Examples

Explore some live examples of JWt below.

The source code of these (and many more) examples is included in the JWt source distribution. You may also browse through the source code of each example using the source code viewer.

Hello world!

Run example

This simple example illustrates most of the basic JWt concepts:

  • How to create a simple Ajax web application that degrades gracefully to plain HTML post-backs, using WApplication that corresponds to a new session.
  • Creating widgets, and adding them to the widget tree.
  • Reacting to events using event listeners.
  • Reading user input and updating widgets.
Browse the source code