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 Where is the source code for ToolKitDemo

KenRock

Member since : Jan 23, 2009
Messages : 1
 Jan 23, 2009 at 8:20 AM
Where can I get the source code for ToolKitDemo.java, which is used in the NativeToolkitDemo? This works successfully on Mac OS X.

I'm trying to write a simple class that creates a graphics file (gif) and writes the file to disk. I want the code to use only PJA classes--I do not want any dependence on java.awt libraries.

I've tried unsuccessfully on both Mac OS X and Linux. My simple class writes the gif file, but it's of size 0, i.e., the file exists but it's size is 0.

Thanks for any help.

Manu

Location : Paris / France
Member since : Apr 29, 2003
Messages : 394
 Jan 23, 2009 at 8:44 AM
ToolKitDemo.java is available in src directory of http://www.eteks.com/pja/pja_2.5.zip or http://www.eteks.com/pja/pja_2.6.zip
If you intend to use only PJA classes, don't forget to read the answer to the question "What methods can be called in a servlet with no problem of Toolkit access for end users ?" in the FAQ available in the index.html file of PJA download.
---
Manu (moderator/modérateur)


Home pageFind It!ContactTop

© Copyrights 1997-2023 eTeks - All rights reserved

PJAPJA documentation