views:

198

answers:

0

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

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

BUT!

When I open "JFrame 2" (a normal JFrame without custom shape and transparency), "JFrame 1" will lose it's custom shape and will show a normal undecorated frame. (A square) This only happens on Mac OS X.

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

Thanks, Gianni