Hey cocoa-java, go $@%* yourself

When I first created the user interface (i.e. all the windows) for my game Lux I used the cocoa-java library that Apple provides. This allowed me to use all the native Mac OS X window components, to really act as a 100% mac application does. People who have macs really like it when their apps blend in to the scenery, and I am no exception.

For a time it was good. OS X Lux grew in popularity until it became worthwhile for me to also write a java swing interface so that Lux could run on windows (and other java-boxes).

However, as of late the amount of strife that cocoa-java has been causing me has become unbearable. It used to be that sometimes there would be a rare crash from the bowels of the cocoa classes. The recent Mac OS X 10.3.5 update has amplified these by about 58 times. To such an extent that Lux is unusable.

I struggled for multiple days trying to figure out if I was doing something wrong so that I could fix it. No dice though. The crashes can be lessened, but not wiped out.

So I have decided to take the rather drastic step of ditching out on cocoa-java altogether, and modifying the java swing interface to be as nice on the mac as possible. It was a tough decision to make. The cocoa-java side of Lux is really very nice, at first I was filled with a significant amount of dread at the thought of replacing it with a shabbier look. Using swing means that I cannot use drop-down sheets anymore. The swing JTable is noticeably not-as-mac-like as the cocoa NSTableView. JComboBox is not a perfect match for a NSPopUpButton. There are many more little things like that, and they all add up.

However, to quote a user: "who cares what it looks like if you can't play it because of crashes?"

Goodbye cocoa-java. The time we had together was nice, but I have to move on. You've become too unstable for to deal with. Maybe if your parent gave you some more attention things would be different, but that is not the case, you seem abandoned from all sides. Well that's fine baby, Lux can survive just dandy without you. Just you watch.

Posted by dustin on August 30, 2004 with category tags of

7 comments


You'll be back, Dustin Sacks! You can't resist my FROU-FROU GOODNESSS!!!!!!!!!!!!!!!
   comment by Fraulein on August 31, 2004

Mmm, can't get enough of that Frou-Frou over here.
   comment by chrisdye on August 31, 2004

I wondered why it was crashing now... BTW could you fix it such that when your netgame crashes and you reconnect any armies you were about to palce are still waiting for you? Cause I always lose armies that way and it sucks. Otherwise I have been ok with the crashing i just rejoin afterwards.

GREAT work!
   comment by that explains it on September 8, 2004

   

VorgTag Cloud

Written by dustin
Latest Photo
Quote of Now:
Friends
Popular Posts
Computer Games

Hey You! Subscribe to dustin's RSS feed.
Or get wider opinion in the Vorg All Author feed.

 
 

Members login here.
© Vorg Group.