Hi,
I'm trying to do a little Java application that graphs porcessor and memory usage using the output from the ps command.
I could use Swing, of course, but I'd rather get acquainted with Cocoa.
The problem is: There's next to no documentation on the Java interface yet.
It's all there for Objective C, but since I know Java and Apple's pushing Java so hard I'd rather use that than start learning yet another programming language. (Especially since ObjC's syntax takes some getting used to.)
I've looked at the source for Sketch.app, but it doesn't really help much: Sketch only works with vectors and for the graph I have in mind a bitmap would probably be much better.
There is an NSGraphics object that even has a method drawBitmap, however there absolutely no docs on it and many paramtetrs that don't readily make sense to me.
I'll probably fiddle around with it trying to find out just what all those Strings and booleans and ints do, but I'd appreciate any help from someone in the know on this topic.
Thanks.
Jens