• 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
Writing on an NSImage in Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Writing on an NSImage in Java


  • Subject: Writing on an NSImage in Java
  • From: Herwig Henseler <email@hidden>
  • Date: Wed, 16 May 2001 18:22:59 +0200

Hi Experts,

I want to put a dynamic String into the dock icon of my app. I read on cocoadevcentral.com how this can be done in ObjC, but I want to do it in Java. The class structure seems to be different here. I guess I want to put a string on an NSImage, but neither java.lang.String nor NSImage seem to have a method for this. I found NSGraphics.drawAtPoint but this is a class method and I wonder how I could apply it to a string. Any help?

TIA,
Herwig
--
ECCE TERRAM Dr. Herwig Henseler
Internet Services GmbH Tel. 0441 / 500 12-0
Edewechter Landstrasse 42 Fax. 0441 / 500 12-29
26131 Oldenburg URL: http://www.ecce-terram.de
"Life is a heuristic guided depth-first search without backtracking"


  • Follow-Ups:
    • Re: Writing on an NSImage in Java
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: wrapping text in an NSTextView
  • Next by Date: Re: Cocoa CGI
  • Previous by thread: Wrapping text in an NSTextView
  • Next by thread: Re: Writing on an NSImage in Java
  • Index(es):
    • Date
    • Thread