Fri 25 Jul 2003
Cocoa Notification works in Java
Category : Commentary/notificationjava.txt
At my wit's end, I created a fresh project just to see if there were other side effects that prevented the Cocoa notification feature from working in Java. I'm happy to say, it now works.
So it means that there was probably something wrong with my project files. I had taken a short cut and duplicated a nib file just to create another that was a bit different. I searched Google and read that you could get a corrupted nib file this way. That seems far too fragile, so I'll have to check it further. But right now, I'm happy to keep on moving.
If you're into programming Cocoa using Java, rather than Objective-C, there's a web site WhiningDog.net that has quite a few sample code. Thanks, you guys at WhiningDog.
So, right now, I've got table views, outline views, and notification working in Java. On to drawers, next.
Category : Technology/smartHost.txt
I received a request from Hunter King to include a "smart host" feature in Sendmail Enabler. According to the James Duncan Davidson article on MacDevCenter, it requires the addition of just one line to the /etc/mail/config.mc file to make this work.
Looks easy enough. So I did that. But I couldn't test it. So I've sent it back to Hunter for testing. If it does, it'll be in the next release.
Other requests are not so easy to do (yet). For example, do SMTP-AUTH, POP before SMTP, ESMTP, Postfix. I would love to do all these. But the great dampener is that Sendmail seems to have been dropped from Panther. They've got Postfix there, but not enabled. Perhaps there'll be a Postfix Enabler.
I'm going to do a more full featured DNS setup next, then I'll see what I need to know about all those SMTP stuff. But right now, I wish I can make the notification feature work in Cocoa when I code in Java. I've got lots of Objective-C examples, but I'm tearing my hair out making this work in Java.
Back to work.