Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Cocoa & Java2D

Cocoa & Java2D
Thread Tools
Forum Regular
Join Date: Jul 2001
Location: Québec, Canada
Status: Offline
Reply With Quote
Apr 6, 2003, 05:59 AM
 
I want to use Java2D for some part of my Cocoa application. In my code I use the BufferedImage class and it stalls during the initialisation of the class (BufferedImage.<clinit>) somewhere in System.loadLibrary().

If I put my code into a separate thread, it works fine, but not if I call thread.join() from the main thread. With thread.join() comming from the main thread, it stalls the same way as before.

Any idea? (Java 1.4.1)
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:21 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2