Level: Intermediate Professor Richard G Baldwin (baldwin@dickbaldwin.com), Professor of Computer Science, Austin Community College
06 Feb 2007 With ThinWire, an open-source development framework, you can build Web applications that look and feel like desktop applications. In this five-part series, you'll learn how to develop rich Web applications using ThinWire and Java™ programming. Here in Part 3, you learn to use ThinWire styling support at both a global level and an individual component level.
In this tutorial
This is another lesson in a continuing series designed to teach you how to develop rich Web applications using ThinWire and Java programming. In Part 3, you'll use ThinWire styling support to create dynamic, configurable style for any component at both global and component levels. (For Parts 1 and 2, see Prerequisites below.) The Thinwire development environment allows you to use Java programming exclusively to develop Web applications (see Resources in the tutorial for more information). You'll write all of the code for a ThinWire Web app in Java code just as though it is a standalone, event-driven program designed to run on the desktop. You then compile it into a Web application with the ThinWire framework using the standard Sun javac compiler (no special compiler provided by another vendor required).
Objectives
Use the full range of user interface styling capabilities, including ThinWire styling support at both a global level and an individual component level.
Prerequisites
You will need:
- Knowledge of the material presented in the previous tutorial lessons in this series to deal with user interface layout issues in ThinWire: Part 1 teaches the basics of dynamic layout management in ThinWire and Part 2 teaches how to use the SplitLayout class for dynamic layout management.
- Knowledge of event-driven programming using the Java programming language as embodied in Sun's J2SE 5.0 (see DickBaldwin.com in the tutorial's Resources).
- Knowledge of how to deploy a Web application in a Java servlet container (see
"Deployment of Web Applications in Jakarta Apache Tomcat 5" in the tutorial's Resources).
System requirements
You will need JavaScript enabled in your browser. First, download and install the ThinWire framework (see Download in the tutorial). Second, you will need access to a servlet container to test your Web
applications. The easiest way to do this is to install a servlet container as a
localhost server (see Download and also "Getting Started with Jakarta Tomcat, Servlets, and
JSP" in Resources in the tutorial). Third, download Sun's Java Development Kit (see Download in the tutorial).
Duration
1 hour
Formats html, pdf
|