home *** CD-ROM | disk | FTP | other *** search
/ Java 1.2 How-To / JavaHowTo.iso / 3rdParty / jbuilder / unsupported / JDK1.2beta3 / SOURCE / DEMO / JFC / SIMPLE / README.TXT next >
Encoding:
Text File  |  1998-03-20  |  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.