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

Anthony Petrov anthony.petrov at oracle.com
Mon Mar 18 06:24:29 PDT 2013


Hi Christopher,

This looks like an issue in Oracle JDK. I filed a bug for you: 
http://bugs.sun.com/view_bug.do?bug_id=8010197
(should be available in a day or two).

--
best regards,
Anthony

On 03/17/13 02:01, Christopher Brown wrote:
> Hello,
>
> 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
> issues.
>
> 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?
>
> Thanks,
> Christopher


More information about the macosx-port-dev mailing list