Summary: This document provides a guide based on CAST’s field experience on how to configure Swing and AWT based applications using CAST AIP. These configurations are used all versions of CAST AIP 8.2.x and above for Swing and AWT offering (see Reference Materials below for links) to overcome limitations such as missing links. The applicability of this guide should have assessed for newer versions of CAST AIP and Extension.
Introduction to Swing and AWT
This section gives a brief overview of the framework.
AWT existed before JFC. AWT was heavily criticized for being little more than a wrapper around the native graphical capabilities of the host platform.
An alternative graphics library called the Internet Foundation Classes was developed in more platform-independent code by Netscape.
Same time, another graphics library, called Application Foundation Classes (AFC), was developed independently by Microsoft. It was made to be easier to extend the graphic components, but was primarily aimed for use with the Microsoft Java Virtual Machine.
On April 2, 1997, Sun Microsystems and Netscape announced their intention to combine IFC with other technologies to form the "Java Foundation Classes". It is later renamed to "Swing", adding the capability for a pluggable look and feel of the widgets.
Versions of Swing and AWT supported by CAST
This section highlights the Swing and AWT versions supported by CAST AIP 8.2.x.
File Types expected for Swing and AWT
This section highlights all the file types that can be expected to be delivered if the application has implemented this framework.
- Web based solution :
- Java™ Web Start
- Web based applications
Swing and AWT - JFC Hierarchy & Classifications
How to identify the implementation of Swing and AWT
This section details the approach for identifying the presence of Swing and AWT in the code delivered.
Button / Key
Button / Mouse
Button / Mouse
Swing and AWT Description
This section gives a brief overview of Swing and AWT.
Drag & Drop - Supports dragging and dropping of objects between java program or non-java programs.
How to configure Swing and AWT in CAST AIP
This section describes all the CAST configuration steps to be followed in order to configure Swing and AWT based application.
Server Manager Configuration
Pre Analysis Configuration
This section gives an overview of the Enlighten diagram.
- Sample #1
- Sample #2
- UI Component's - Entry point.
- Recommending to apply "Transaction Configuration Kit".
|Java Foundation Classes||https://en.wikipedia.org/wiki/Java_Foundation_Classes|
|Listeners vs Adapters|
|AWT Events in Java|
|Swing Components and Containers|
|Java Swing Tutorial for beginners|
|Trail: Creating a GUI With JFC/Swing|
|Java Swing Tutorial|
|Java AWT Tutorial|
|Java Adapter Classes|
|Introducing Swing and the JFC|
|Event Handling in JDK 1.1, Scrollbar (Adjustment) Events|