• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using PJA Graphic Toolkit on OSX?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using PJA Graphic Toolkit on OSX?


  • Subject: Re: Using PJA Graphic Toolkit on OSX?
  • From: Thomas Ganter <email@hidden>
  • Date: Tue, 23 Dec 2003 22:16:23 +0100

Hi Jonathan,

I am using the PJA Toolkit for some time now on both, OS X and Windows,
and seem to remember having had problems initially.

Obviously, I overcame these problems. I think the vital input for that
was due to some stuff I did in a static initialisation routine:

       System.setProperty( "awt.toolkit", "com.eteks.awt.PJAToolkit" );
       System.setProperty( "java.awt.graphicsenv",
"com.eteks.java2d.PJAGraphicsEnvironment" );

       // Use a security manager that disallows awt library
       System.setSecurityManager( new NoAWTSecurityManager() );

(Full code available at
<http://www.familie-ganter.de/cvsweb/_cvsweb.cgi/WebObjects/Barcode/
ImageFactory.java?rev=1.5&content-type=text/x-cvsweb-markup>, all one
line. There also is an example of how to load font files)

Greetings,

- Thomas

Am 23.12.2003 um 21:37 schrieb Jonathan Rochkind:

> Not really a WO question, but is anyone using the PJA Graphic Toolkit
> on OSX?  I am switching from developing on Windows to developing on
> OSX (10.2.8, NOT Panther).  When my code tries to access the PJA
> Toolkit, the app crashes with a "signal 11 (SIGSEGV)" fatal error. I'm
> not sure what's going on, or if this is something I can fix, or what,
> but looking for anyone with similar experience.
>
> --Jonathan
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Using PJA Graphic Toolkit on OSX? (From: Jonathan Rochkind <email@hidden>)

  • Prev by Date: switching from Windows to Mac ProjectBuilder
  • Next by Date: ImageMagick on OSX?
  • Previous by thread: Using PJA Graphic Toolkit on OSX?
  • Next by thread: Re: Using PJA Graphic Toolkit on OSX?
  • Index(es):
    • Date
    • Thread