Java – Swing tweaks for Mac OS X

javamacosswinguser-interface

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:


Best Solution

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.