Home pageFind It!Contact PJAPJA documentation

PJA

 PJA Toolkit forum

This forum is dedicated to PJA Toolkit.
You may read freely the messages it contents. If you want to write a message or answer to a subject, subscribe to it first.

Subjects Recent messages Login Subscribe

Messages of subject PJAToolkitDemo1.2.sh

fabalfab

Member since : Jun 23, 2003
Messages : 2
 Jun 24, 2003 at 3:35 PM
Hi, I have found the following problem
When I call PJAToolkitDemo1.2.sh
I have this output:

Toolkit demo
© Copyright 2000-2001 eTeks <info@eteks.com>.
© Copyright 1996,1998 by Jef Poskanzer <jef@acme.com>.

Disabling platform fonts
Toolkit class in use is com.eteks.awt.PJAToolkit
Computing ArcDrawer image (instance of com.eteks.java2d.PJABufferedImage)
Saving image to PJAToolkitArcDrawer.gif
Computing PolygonDrawer image (instance of com.eteks.java2d.PJABufferedImage)
Saving image to PJAToolkitPolygonDrawer.gif
Computing TextDrawer image (instance of com.eteks.java2d.PJABufferedImage)
Saving image to PJAToolkitTextDrawer.gif
Computing ImageDrawer image (instance of com.eteks.java2d.PJABufferedImage)
Saving image to PJAToolkitImageDrawer.gif


As a matter of facts I image that 's all right,
....but ....the image (PJAToolkitTextDrawer)....is empty.

Can You help me ??

My PJAToolkitDemo1.2.sh is:

java -Xbootclasspath/a:/WebSphere/www/IO/io/PJA/lib/pja.jar:
/WebSphere/www/IO/io/PJA/lib/pjatools.jar:
/WebSphere/www/IO/io/PJA/lib/rtgraphics.jar
-Dawt.toolkit=com.eteks.awt.PJAToolkit
-Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment
-Djava2d.font.usePlatformFont=false
-Djava.awt.fonts=/usr/WebSphere/AppServer/java/jre/lib/fonts
-Duser.home=/WebSphere/www/IO/io/PJA/lib
ToolkitDemo

where rtgraphics.jar is "sun/java2d/SunGraphicsEnvironment.class"

Thanks

fabalfab, IT

Manu

Location : Paris / France
Member since : Apr 29, 2003
Messages : 394
 Jun 25, 2003 at 6:24 PM
On what system are you testing PJA and which JDK version are you using ?
---
Manu (moderator/modérateur)

fabalfab

Member since : Jun 23, 2003
Messages : 2
 Jun 26, 2003 at 10:09 AM
Hi Manu,

the Operating System is
AIX (ver 4.3)

JDK version is (IBM JAVA VERSION):

java version "1.2.2"
Classic VM (J2RE 1.2.2 IBM build ca122-20011213was (JIT enabled: jitc))

thanks

fab

Manu

Location : Paris / France
Member since : Apr 29, 2003
Messages : 394
 Jun 26, 2003 at 8:40 PM
From what people reported about JDK 1.2 and AIX and http://java.quest.com/support/search/JclServerChart/fq/jcl_serverchart_fq_13.html it looks like that fonts can't be drawn with PJA under JDK 1.2.
Upgrade to JDK 1.3 if you can...
---
Manu (moderator/modérateur)

fonta_il_grifo

Member since : Feb 19, 2014
Messages : 1
 Feb 19, 2014 at 3:42 PM
Hi fabalfab,
I image that you've solved your problem. If that is not true, please consider upgrading you jdk.

Thanks in advance
--
grifo


Home pageFind It!ContactTop

© Copyrights 1997-2014 eTeks - All rights reserved

PJAPJA documentation