1

I am somewhat new to Java, and new to OS X programming. I have worked my way through several of the details of getting a Java app to look like a native Mac app. Now I am struggling with implementing a preferences dialog that looks "mac like".

I am working on Mountain Lion and Java SE 6. Is there a simple solution to this, or is it just working with JDialog and JToolbar, et. Al.?

Thank you Tim

kleopatra
  • 51,061
  • 28
  • 99
  • 211

1 Answers1

4

Several things are worth noting in this regard:

  • Don't override the default Look & Feel, com.apple.laf.AquaLookAndFeel.

  • Do create a Mac applicaiton bundle, as suggested here.

  • Do consider libraries such as Mac Widgets for Java.

  • Use java.util.Preferences or javax.jnlp.BasicService, as suggested here.

Community
  • 1
  • 1
trashgod
  • 203,806
  • 29
  • 246
  • 1,045