AWT with 10.0.0

Alex Boisvert alex at gel.usherb.ca
Mon Apr 20 05:05:37 PDT 1998


On Mon, 20 Apr 1998, Mark Burton wrote:
> > Kaffe 0.92 can be "upgraded" to support AWT with the latest BISS-AWT 0.94
> > package.  This package can be downloaded from:
> > 
> > http://www.blackdown.org/java-linux/Mirrors.cgi
> > 
> > There are some known compile errors in this package but they can be
> > avoided with simple patches (which I can provide if needed).
> 
> I'm trying to do this.... but not with any success so far!
> 
> The first error I get is
> FontMetrics.java:59: No variable type defined in class java.awt.Font.
>         fnt.type = Font.BYTE;
>            ^

BISS-AWT has to redefine some of JavaSoft's classes to work properly.
Some classes (such as java.awt.Font) are 'overriden' and 'extented' by
BISS-AWT.

Because of this, you'll need to have the .class files of BISS-AWT refered
in your CLASSPATH _before_ those of JavaSoft.

ie:  CLASSPATH =
$home/java/lib:/usr/local/biss-0.94/lib:/usr/local/jdk1.1.5/lib/classes.zip

Obviously, this affects the compile of BISS-AWT classes....

> 
> Also... whats the difference between JDK 1.1.5 and Biss 0.94 ?
> 

There's an (old) PostScript document on the Blackdown mirrors (in the
BISS-AWT directory) that describes the differences between 'JavaSoft's 
AWT' and 'BISS-AWT'.

Most notably, all of BISS-AWT's components are 'lightweight components',
which means they are written in 100% java and that they depend less on
platform-dependent peer components.  This is what the Swing approach is
all about, but with less overhead ;-)   With BISS-AWT, your apps will look
exactly the same (pixel for pixel) and behave the same on every platform.
This is not the case with JavaSoft's AWT.

If you need more help running BISS-AWT, please take this thread off the
Kaffe mailing list.

Regards,
Alex Boisvert

---
FreeBSD:  Decouvrez la puissance de votre PC!  www.freebsd.org




More information about the kaffe mailing list