How to draw a String in a Cocoa-Java-App?
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