Java & JEE books Page5 Posted on: April 3, 2006 at 12:00 AM
As indicated in the title, this lesson deals with a lot of fun stuff in Swing. The lesson was originally written using JDK 1.1.6 and Swing 1.0.1.
Java & JEE books Page5
Advanced Java Programming Tutorial
As indicated in the title, this lesson deals with a lot of fun stuff in Swing. The lesson was originally written using JDK 1.1.6 and Swing 1.0.1. Much that you will see in this lesson is not documented in Swing 1.0.1 (at least if it is documented, I was unable to find it). Rather, much of what you see here was created by examining the source code for the examples that came with the Swing download and inferring the behavior of various methods on the basis of that source code.
For example, the "Back" button in the Netscape browser in Communicator 4.x is a button of this type. Its normal appearance is to display the word Back and a little green icon but there are no borders to cause it to look like a button. However, when you touch it with the mouse, it suddenly displays borders that make it look like a button. The new capability of Swing to deal with borders makes it possible to create buttons that behave like this in Java.
li>Test Yourself: Java Fundamentals The purpose of this series of tutorial lessons is to help you learn Java by approaching it from a question and answer viewpoint.
I recommend that you also make use of my online Java tutorial lessons, which are designed from a more conventional textbook viewpoint. Those tutorial lessons are published at
Gamelan.com. For your convenience, I also maintain a consolidated Table of Contents on my personal web site that links to the individual lessons on the Gamelan site.
Look and Feel As the Java platform has matured, designers and developers have recognized the need for consistent, compatible, and easy-to-use Java applications. The Java look and feel meets that need by providing a distinctive platform-independent appearance and standard behavior. The use of this single look and feel reduces design and development time and lowers training and documentation costs for all users.
The Java look and feel is the default interface for applications built with the Java Foundation Classes. The Java look and feel is designed for cross-platform use and can provide:
* Consistency in the appearance and behavior of common design elements
* Compatibility with industry-standard components and interaction styles
* Aesthetic appeal that does not distract from application content
The Java Trademarked Web Services Tutorial The Java Web Services Tutorial addresses the following technology areas, which are not covered in the J2EE 1.4 Tutorial:
* The Java Architecture for XML Binding (JAXB)
* The StAX APIs and the Sun Java Streaming XML Parser implementation
* XML and Web Services Security (XWS Security)
* XML Digital Signature
* Service Registry
All of the examples for this tutorial are installed with the Java WSDP 1.6 bundle and can be found in the subdirectories of the
<technology>/samples directory, where JWSDP_HOME is the directory where you installed the Java WSDP 1.6 bundle.
Jakarta Tomcat 5.5 for Servlet and JSP Development Following is a guide to installing and configuring Apache Tomcat 5.5 for use as a standalone Web server (for development) that supports servlets 2.4 and JSP 2.0.This Tomcat tutorial covers version 5.5.17, but the steps are almost the same for any Tomcat 5.5.x version.
Using Tomcat as a deployment server or integrating Tomcat as a plugin within the regular Apache server or a commercial Web server is more complicated than what is described in this tutorial. Although such integration is valuable for a deployment scenario
( http://jakarta.apache.org/tomcat/tomcat-5.5-doc/), my goal here is to show how to use Tomcat as a development server on your desktop. Regardless of what deployment server you use, you'll want a standalone server on your desktop to use for development.