background image
<< Installing the Swing Foundation Classes | Starting the Sample Java Applet >>
<< Installing the Swing Foundation Classes | Starting the Sample Java Applet >>
Installing Swing Under Windows 2000
Setting Up the Sample Java Applet
14-9
Installing Swing Under Windows 2000
To install the Swing foundation classes on a computer running 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 semi-colon 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 and Windows 95
To install the Swing foundation classes on a computer running Windows 98 or
Windows 95:
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.