• 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 AWT in Cocoa-Java app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using AWT in Cocoa-Java app


  • Subject: Re: Using AWT in Cocoa-Java app
  • From: Hsu <email@hidden>
  • Date: Sun, 8 May 2005 09:38:57 -0700

I'd guess that you were loading the AWT on the first thread. Are you? Have you tried loading the AWT from another thread?

Karl

On May 7, 2005, at 8:35 AM, Raheel Ahmad wrote:

I have been trying to use a Java library with my Cocoa app, which is being done in Cocoa-Java. Whenever I try to instantiate a class from AWT package (BufferedImage specifically), i get a runtime error: "Apple AWT Java VM was loaded on first thread -- can't start AWT." and a signal 11 exit. What am I doing wrong?
Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

--

Text processing has made it possible to justify any idea, even one which cannot be justified on any other grounds.

Homepage:
     http://homepage.mac.com/khsu/index.html

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Using AWT in Cocoa-Java app (From: Raheel Ahmad <email@hidden>)

  • Prev by Date: Re: NSMetadataItem question.
  • Next by Date: Re: So Timers Retain Their Targets...
  • Previous by thread: Re: Using AWT in Cocoa-Java app
  • Next by thread: [ANN] Mac UI-Dev Mailing List
  • Index(es):
    • Date
    • Thread