• 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
Displaying an AWT Image on an NSButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Displaying an AWT Image on an NSButton


  • Subject: Displaying an AWT Image on an NSButton
  • From: Graham <email@hidden>
  • Date: Sun, 17 Apr 2005 17:39:30 -0400

Hello,

I am a new Cocoa programmer, using Java.
Is there a way to get an AWT image onto an NSImage?
It seems that NSImage only accepts filenames or URL's and not Image instances.
I have an instance of BufferedImage returned from a third-party API I am using and thus do not have access to the image's url.


Thanks in advance

Graham

_______________________________________________
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


  • Prev by Date: setValue vs setObject (NSMutableDictionary)
  • Next by Date: Re: setValue vs setObject (NSMutableDictionary)
  • Previous by thread: Re: setValue vs setObject (NSMutableDictionary)
  • Next by thread: Date / time localisation
  • Index(es):
    • Date
    • Thread