mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.14k stars 235 forks source link

WebPopupWindow Display problem on MAC,How can I make my UI look like Windows on the MAC #692

Open xcfdszzr opened 2 years ago

xcfdszzr commented 2 years ago
  <style type="rootpane" id="common-message-window">
    <painter>
        <decorations overwrite="true">
            <decoration>
                <WebShape round="5" />
                <WebShadow color="0,0,0" type="outer" opacity="0.5" width="30"/>
            </decoration>
        </decorations>
    </painter>
    <style type="panel" id="content" extends="transparent" />
</style>

On the MAC, the display is not transparent and has a background color. But it works on Windows

this is mac image

this is windows image

How can I make my UI look like Windows on the MAC

mgarin commented 2 years ago

This looks like an issue with specific Java/OS version. Which Java & OS versions are you using while running the app in the first screenshot (on Mac)?

xcfdszzr commented 2 years ago

This looks like an issue with specific Java/OS version. Which Java & OS versions are you using while running the app in the first screenshot (on Mac)?

I used Java JDK 1.8 ,macOS Big Sur 11.6