b l o g _ m a x i m u m

NetBeans with SoyLatte: The Missing Menu Items

Saturday May 24, 2008

If you also use SoyLatte to run NetBeans, you'll notice that there's no menu items for Exit, About and Options. Normally, Mac programs put them into the application name menu. With SoyLatte, NetBeans runs in the X11 window environment, where the application menu belongs to X11.app.

This is how I add them, the easiest way:

  • Open the Tools | Plugins dialog, select the Setting tab, and click "Proxy Settings"
  • Options dialog appears, click "Advanced Options" at the lower left corner
  • Expand "IDE Configuration | Look and Feel | Actions", locate "System | Exit", "Help | About" and "Window Options"
  • For each of them, right click and choose Copy, expand "Menu Bar" under "Look and Feel", choose a menu, right click and Paste.
  • Again, right click on the menu name, choose "Change order", position the newly added items to a nice place.
Done.

[7] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

Impressive, I like how you use the Plugin Proxy Settings to lure out the Options dialog. You should win the "Brilliant Hack of the Year"-award. :-)

Posted by Seapegasus on August 21, 2008 at 04:24 PM CST #

Hi, wangwj
I cannot find the Advanced Options after click Proxy Setting. :((
I use Netbean 6.7 beta, what version did you use?

Thanks

Posted by 222.253.139.51 on May 16, 2009 at 09:16 PM CST #

The advanced button is not there anymore in the late versions. Very bad.

Anyway, my config still works now. The changes are in the config/Menu of your userdir. I've posted a patch at http://pastie.org/480101. Try it at your own risk. ;)

Posted by Weijun on May 16, 2009 at 11:04 PM CST #

Hi,
I don't know how to use your patch. But Thanks for your help!!

Posted by Quyet Nguyen on May 17, 2009 at 09:03 PM CST #

Just download the file at http://pastie.org/480101 and patch it to your system.

Open a console, cd to your userdir, which should be inside the .netbeans directory of your home, and run this command there:

patch -p1 < pastie-480101.diff

Posted by Weijun on May 18, 2009 at 07:13 AM CST #

Thanks very much. I've got it.

Posted by Quyet Nguyen on May 19, 2009 at 11:34 PM CST #

it's still same.. i don't get any changing....i'm using netbeans version 6.5.1

Posted by leonard on August 04, 2009 at 12:53 AM CST #

Post a Comment:
  • HTML Syntax: NOT allowed