home *** CD-ROM | disk | FTP | other *** search
/ PC World 1998 October / PCWorld_1998-10_cd.bin / software / prehled / inprise / JSAMPLES.Z / runapplet.bat < prev    next >
DOS Batch File  |  1998-05-08  |  596b  |  16 lines

  1. @echo off
  2. rem Run the SwingSet demo applet
  3. rem
  4.  
  5. if "%SWING_HOME%" == "" goto nohome
  6. @echo on
  7. java -classpath "classes;%SWING_HOME%\swing.jar;%SWING_HOME%\motif.jar;%SWING_HOME%\windows.jar;%SWING_HOME%\metal.jar;%SWING_HOME%\organic.jar;%SWING_HOME%\mac.jar;%SWING_HOME%\1.1_lib\swing.jar;%SWING_HOME%\1.1_lib\win.jar;%SWING_HOME%\1.1_lib\motif.jar;%SWING_HOME%\1.1_lib\metal.jar;%SWING_HOME%\1.1_lib\organic.jar;%SWING_HOME%\1.1_lib\mac.jar;%CLASSPATH%" sun.applet.AppletViewer SwingSetApplet.html
  8. @echo off
  9. goto done
  10.  
  11. :nohome
  12. echo No SWING_HOME environment variable set.
  13.  
  14. :done
  15.  
  16.