JNA Library - Problems with Mac OS X

This is a question about the JNA library in a Java program.

I have a tray application. "JFrame 1" loads at the beginning of the program. "JFrame 1" has a custom shape and has transparency. (Custom form = ellipse) It works on Windows, Linux, and Mac OS X.

BUT!

When I open "JFrame 2" (a regular JFrame without a custom shape and transparency), "JFrame 1" will lose its custom shape and show a normal unordered frame. (Square) This only happens on Mac OS X.

I searched the internet but no luck. Maybe you can help me.

Thanks Gianni

+3
source share

Source: https://habr.com/ru/post/1729393/


All Articles