Displaying an AWT Image on an NSButton
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