Enabling the 'Preferences' dialog for OS X Java Swing applications

I managed to figure out some of the vague details of Apple's com.apple.eawt.ApplicationAdapter class for handling the Application Menu in Java applications, thanks in part to this forum post, but the 'Preferences' menu wasn't showing up.

Fortunately, all that's required is to invoke your com.apple.eawt.Application object's setEnabledPreferencesMenu() method with a true boolean.

(See: Application (Apple Java Extensions))

Syndicate content

Twitter

  • New post: Chords Module Changes Afoot http://tinyurl.com/ycae7f6 #fb 5 years 13 weeks ago
  • Anyone have a 6-ton bottle jack they don't need anymore? #fb 5 years 14 weeks ago
  • New blog post: Some Masonic Terminology Explained http://tinyurl.com/yd2p9tf #fb 5 years 14 weeks ago
  • The one positive thing about hearing about Lady Gaga all the time is that I hardly ever have to hear about Madonna anymore. #fb 5 years 14 weeks ago
  • @prouty Bell Biv Devoe. Bell Biv Devoe. #1 in th charts? Bell Biv Devoe. http://is.gd/6FRLC 5 years 14 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key