Skip to content

MacOSXのUIに対応する #13

Description

@seraphy

・ CMD-Qなどのアプリケーションイベントをハンドリングできるようにする。
・ JDesktopPaneの中のJInternalFrameのシャドウが大きすぎる問題は、以下で対応できるかも。

http://stackoverflow.com/questions/7838084/disabling-the-shadow-around-jinternalframes-with-the-aqua-look-and-feel

After digging into the Aqua L&F code in OpenJDK I found an undocumented property that let you change the style of an internal frame. Shadows can be removed with this:

internalFrame.putClientProperty("JInternalFrame.frameType", "normal");

http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/file/087d8f180711/src/macosx/classes/com/apple/laf/AquaInternalFrameUI.java

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions