background image
<< Swing Foundation Classes | Testing Data in Java Components >>
<< Swing Foundation Classes | Testing Data in Java Components >>

Swing Under Windows XP

Setting Up the Sample Java Applet
15-9
Installing Swing Under Windows XP or Windows 2000
To install the Swing foundation classes on a computer running Windows XP or
Windows 2000:
1. Double-click the file that you just downloaded to install Swing on your
computer.
2. Click Start > Settings > Control Panel.
3. Double-click System.
4. Click the Advanced tab. Click Environment Variables.
5. Click CLASSPATH under System Variables, and click Edit.
6. Move the cursor to the end of the Variable Value box. Type a semicolon and the
full path to the swingall.jar file.
This file is installed when you install Swing. For example, if you installed
Swing-1.1 at the root of your C drive, you would type the following:
;c:\swing-1.1\swingall.jar
7. Click OK.
8. Click OK.
Installing Swing Under Windows 98
To install the Swing foundation classes on a computer running Windows 98:
1. Double-click the file that you just downloaded to install Swing on your
computer.
2. Edit the
CLASSPATH
environment variable in your workstation's autoexec.bat
file to include the path to the swingall.jar file.