Index: [thread] [date] [subject] [author]
  From: Michael Abernethy <mna@duke.edu>
  To  : 
  Date: Fri, 2 Apr 1999 09:32:18 -0500

Re: adventure

 Well, if we have to use the com.sun.java.swing.*, that means we'll still 
be using Swing 1.1 Beta (I don't remember what Beta version java.awt.swing.* 
was).  Would it be possible to update the swingall.jar file in the acpub
directory with Swing 1.1, which uses the standard javax.swing.* package 
names.  That's the current package name in JDK 1.2  That way, when and if 
the JDK 1.2 is put on acpub, we won't have to change all our code.


> 
> >  do we have to put the swing.jar file in our account and link it in our 
> > CLASSPATH, or is it on the acpub system somewhere where we can link it??
> 
> yes, set your classpath by putting the following line in your .cshrc:
> 
> setenv CLASSPATH .:..:/afs/acpub/project/cps/pkgs/java/lib/swingall.jar
> 
> and you'll have to refer to the swing components you want to use as
> 	com.sun.java.swing.*  instead of  java.awt.swing.*
> 
> you may also want to add the jgl jar file to your classpath as well:
> 
> setenv CLASSPATH .:..:/afs/acpub/project/cps/pkgs/java/lib/swingall.jar:\
> 	/afs/acpub/project/cps/pkgs/jgl/lib/jgl3.1.0.jar
> 
> think about including your own java directory as part of your classpath if
> you want as well...
> 
> 
> ...jason
> 
> 	     - By all means, think outside of the box.    -
> 	      - Just put everything back when you're done. -
> 
> 
> 

Mike Abernethy
www.duke.edu/~mna
IBM Club Cyberblue - www.cybrblu.ibm.com



Index: [thread] [date] [subject] [author]