• 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
Drawing a String in Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing a String in Java


  • Subject: Drawing a String in Java
  • From: Joe <email@hidden>
  • Date: Thu, 25 Oct 2001 19:02:54 -0500

Hey all,

I am trying to draw a simple text string, using Java, and finding it not-too-obvious. I just want to apply text to the screen -- not within a text view.

Examining sample code, I notice that "SonOfSillyBalls" draws text with a "drawToPoint" method in NSString. Unfortunately, Cocoa Java has no such method (or NSString class, for that matter). How do I perform this seemingly basic and simple task from within Java?

Thanks,

Joe


  • Follow-Ups:
    • Re: Drawing a String in Java
      • From: Andrew Platzer <email@hidden>
    • Re: Drawing a String in Java
      • From: David McCabe <email@hidden>
  • Prev by Date: Re: conventions
  • Next by Date: Re: Subclassing NSTableView
  • Previous by thread: Re: Settings text in an NSScrollView
  • Next by thread: Re: Drawing a String in Java
  • Index(es):
    • Date
    • Thread