tags:

views:

488

answers:

5

I remember having once seen a list of properties that could be set on Swing components to make them look more native on Mac OS X. This included ways to mark "dirty" documents with the "dot" in the window close button, open dialogs as sheets (not sure about that, but sure would be nice) etc.

I know Apple has let Java down as a "primary" programming language, but as they recently updated Java and even offer Java 6, I wonder if there is a comprehensive and current list - ideally with examples - on what you can do to make Swing apps look better without much effort on the Mac.


After receiving some answers, I put this into community wiki mode and started the following list to be expanded if need be:


+1  A: 

You can check this PDF at Apple, but it's marked as legacy.

On some applications, I'm still using com.apple.macos.useScreenMenuBar to have the Java application use the Mac OS X menu bar, and it still works in Leopard.

pgb
+1  A: 

The Java Development Guide for Mac OS X has a Mac OS X Integration for Java section that is probably what you're looking for.

Barry Wark
+1  A: 

My personal link collection:

When clicking on some old links I'd been redirected to Java Design Guidelines and Java Guides, seems as though I have to update my links...

dhiller
+3  A: 

The Quaqua site may be interesting as well. From the site:

"The Quaqua Look and Feel (Quaqua) is a user interface library for Java applications which wish to closely adhere to the Apple Human Interface Guidelines for Mac OS X. ... It runs on top of Apple's Aqua Look and Feel, and provides fixes and enhancements for it."

It has a fairly good user guide with examples as well.

Csaba_H
A: 

If you use the Macify Maven plugin to build your app, it will take care of several of these tweaks.

Jay Askren