home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / J A V A / Java Development Kit V1.2 / jdk12-win32(1).exe / data1.cab / demos / demo / jfc / Simple / README.txt next >
Encoding:
Text File  |  1998-12-01  |  670 b   |  24 lines

  1. SimpleExample is the "Hello, world" of the Swing release.  It brings up
  2. a window displaying a regular button followed by three radio buttons.
  3. The regular button does nothing; it's there for looks alone.  The other
  4. three buttons let you choose the look and feel (L&F) that SimpleExample
  5. uses.
  6.  
  7.  
  8. To run the SimpleExample demo on 1.2:
  9.   java SimpleExample
  10.  
  11.  
  12. To run the SimpleExample demo on 1.1.x on Solaris:
  13.   setenv SWING_HOME <path to swing release>
  14.   setenv JAVA_HOME <path to jdk1.1.x release>
  15.   runnit
  16.  
  17.  
  18. To run the SimpleExample demo on 1.1.x on win32:
  19.   set CLASSPATH=<path to jdk1.1.x release>\lib\classes.zip
  20.   set SWING_HOME=<path to swing release>
  21.   runnit
  22.  
  23.  
  24.