Getting into the Swing
Download from www.javasoft.com
Swing works with JDK 1.1 and JDK 1.2
- JDK 1.1 requires “swingall.jar” file in the CLASSPATH
- For JDK 1.2, it’s in the soup (no CLASSPATH settings)
- JDK 1.2 will also run all JDK 1.1 code (~ 20% faster!)
import com.sun.java.swing.*;