What You ll Need

Java > Core SWING advanced programming > Preface > What You'll Need

 

What You'll Need

In order to compile and run the examples that accompany this book, you'll need to have a computer with both the Java Development Kit and the Swing packages installed. Since this is not an introductory text, I assume that you have already used Swing, so it is very likely that you already have access both to Swing and either JDK 1.1 or Java 2. If you don't, you can download them from Sun's Web site at http://java.sun.com

The material in this book is applicable both to JDK 1.1 and Java 2, with the exception of Chapter 5, which discusses bi-directional text, and Chapter 8, which covers the drag-and-drop feature. Drag-and-drop is available only in Java 2, while bi-directional text can theoretically be used with JDK 1.1, but the font support needed for languages for which it is required is not present in JDK 1.1, thus limiting its usefulness. If your are going to use JDK 1.1, you can download it from the following URL:

http://Java.sun.com/products/jdk/1.1

At the time of writing, JDK 1.1.8 is the most recent release of JDK 1.1 and is the one that was used to test the example code on the CD-ROM. Since Swing is not a core component of JDK 1.1, you will need to download and install it separately from:

http://Java.sun.com/products/jfc/download.html

where you will find Swing 1.1.1, the final version of Swing that will be released for use with JDK 1.1.

On the other hand, if you intend to use the Java 2 platform, you can download it from

http://Java.sun.com/products/jdk/1.2

Java 2 includes Swing, so you do not need to download it separately. The examples in this book were tested with JDK 1.2.2.

Installation instructions for both the JDK and Swing are available from Sun's Web site. When installing the software, be sure to set the PATH and CLASSPATH variables correctly. You will also need to set the CLASSPATH variable when using the example code, as described in "About the CD-ROM" later in this Preface.

 

 



Core Swing
Core Swing: Advanced Programming
ISBN: 0130832928
EAN: 2147483647
Year: 1999
Pages: 55
Authors: Kim Topley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net