Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.