JDialog content is offset underneath the title bar when using "apple.awt.documentModalSheet"

Christopher Brown christopherbrown06 at gmail.com
Sat Mar 16 15:01:19 PDT 2013


When using the Swing client property "apple.awt.documentModalSheet" on JDK
1.7.0_17 on a Mountain Lion Retina MacBook Pro, the dialog is the expected
size but the content is offset (moved up under the title bar) and
hidden/clipped.  When this property is not set, the layout is as expected.

The "sheet" dialog behavior is not present as it was in Apple JDK 6.  I
don't know if it is planned to fully implement it.  However, it appears
that this property is still taken into account by Oracle JDK 7 to offset
the content, but because the title bar's still there, it leads to layout

I didn't find any reference to this issue on the bug database or by
searching on the Internet.  Is this the correct place to raise the issue?


More information about the macosx-port-dev mailing list