MacBeans: Native-looking NetBeans for OSX
Thursday, October 2, 2008 12:36:51 PM
An ugly look and feel is not NetBeans' only weakness. In Forte CE days, NetBeans' GUI builder, while so buggy and unstable, didn't even support undo/redo and it was not surprising to lose hours of GUI work on every single day. Deleted all the components from your frame accidently? Poof! They're all gone! Looks like the situation is not improved much since then: to some users, even today, "GUI builder is a medieval torture device". It "turns sane men into raving lunatics". If someone at the end of a working day finds out that he has not used the sacred "F" word he will feel so excited and happy. You have to bring your blood pressure medicine to work with you cause NetBeans is known to skyrocket its victims' blood pressure.
Now enough bashing for today. Some time ago I wanted to make NetBeans more native-looking on OSX and today I made some progress. First, lets see how a decent OSX/Cocoa app looks like on Leopard:

Now lets see how NetBeans looks on Leopard:

The toolbar is both different and not unified with the title bar and tabs also look different. These are the primary things I want to fix. Making the toolbar unified was very trivial:

At the moment I am working directly on NetBeans source code but eventually I want to turn the project into a plugin. My goal is to finish it by the end of February 2009. The only non trivial component to fix is NetBeans' custom tabbed pane. I will write more about this as I move forward.









Anonymous # Thursday, October 2, 2008 5:23:34 PM
Anonymous # Friday, October 3, 2008 9:20:15 AM
Anonymous # Friday, October 3, 2008 11:26:01 AM
Anonymous # Friday, October 3, 2008 11:43:53 PM
Anonymous # Saturday, October 4, 2008 12:29:40 AM
Anonymous # Saturday, October 4, 2008 6:33:27 AM
Behrang Saeedzadehbehrangsa # Saturday, October 4, 2008 7:46:26 AM
I agree. Both Eclipse and IDEA look OK on OSX. Their shortcut keys clash with standard OSX shortcut keys though. At least on Leopard.
@Anonymous #1:
I agree. Some NetBeans components have transparent backgrounds and now that I have unified the toolbar with the title bar (this changes the background color of the whole frame) they look very dark. But I hope to be able to make NetBeans look more like XCode.
@Lukas:
I don't hate NetBeans in the I-want-it-to-die way of hating things
@Anonymous #2:
Thanks for your encouraging remarks. I am already a member of Apple's Java, and NetBeans' user and developer lists.
Anonymous # Wednesday, October 15, 2008 5:17:10 PM
Behrang Saeedzadehbehrangsa # Monday, October 20, 2008 12:12:54 PM
Thanks. I have not had much time to work on this so far. I was thinking about creating a plugin instead of working directly on NetBeans code but looks like some parts of NetBeans are developed in a quick-and-dirty way and the only way it is possible to change the way they are rendered is by working directly on NetBeans source code. One example of such a component of NetBeans is its toolbar which is not the plain old Swing JToolbar, but an extension of it that uses a custom class for rendering the floatation grips (bumps). I should be able to spend more time on this project from next week. Stay tuned ;-)
Anonymous # Wednesday, November 26, 2008 4:40:04 AM
Anonymous # Monday, January 5, 2009 1:32:39 PM