Re: Drawing a String in Java
Re: Drawing a String in Java
- Subject: Re: Drawing a String in Java
- From: Joe <email@hidden>
- Date: Thu, 25 Oct 2001 22:23:11 -0500
In other words, don't bother bringing any Java-related Cocoa questions to
this list, because the answer will always be the same.
I am very aware of the shortcomings of Cocoa for Java. I'm learning
Objective C as fast as I can. In the meantime, your flip suggestion to
"learn Objective C" is not helpful, because once I learn this massively
superior language, I still have a huge amount of Java code from a
previously existing project, which presumably has to be ported to
Objective-C. No thanks -- I'd rather just try to work with my existing
Java code for now. I didn't include this whole "back story" because I
thought my question was pretty simple.
Unless you are telling me that this list is limited to discussion of
Objective-C-based Cocoa programming, my original question still stands.
Thanks,
-Joe
On Thursday, October 25, 2001, at 09:41 PM, email@hidden.
com wrote:
Java-Cocoa is a regular joke. I tried it for 3 days and gave up for
complete lack of documentation. My advice would be to learn Objective-C.
As a Java and C++ programmer, it look me about 30 minutes to learn.
On Thursday, October 25, 2001, at 05:02 PM, Joe wrote:
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?