• 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
How to draw a String in a Cocoa-Java-App?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to draw a String in a Cocoa-Java-App?


  • Subject: How to draw a String in a Cocoa-Java-App?
  • From: Ulrich Kortenkamp <email@hidden>
  • Date: Fri, 30 Nov 2001 10:29:08 +0100
  • Resent-date: Fri, 30 Nov 2001 10:30:05 +0100
  • Resent-from: Ulrich Kortenkamp <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: email@hidden

Hi,

I want to draw a string in a Cocoa-Java-Application. With Objective-C this is done using the NSString-Addition drawAtPoint. Since java.lang.String is the replacement for NSString and there does not exist something like "Additions to Java classes" I do not know what to do.

Any hints?

I do not want to use NSTextField, since this is way too heavy for what I want to draw.

Thanks,

Ulli

--
Ulrich Kortenkamp
http://www.cinderella-geometry.com


  • Prev by Date: Re: NSTextField resizing
  • Next by Date: Programmatically creating Windows
  • Previous by thread: Regarding fonts
  • Next by thread: Programmatically creating Windows
  • Index(es):
    • Date
    • Thread