Java - Make JWindow angles 100% transparent on MacOS (Snow leopard)

I am trying to create a small java application, and I need the JWindow corners to be β€œcropped” at a 45 degree angle.

I tried using AWTUtilities.setWindowShape, but apparently it is not supported by MacOS (snow leopard).

Does anyone know how to solve this problem? Any help would be greatly appreciated.

+4
source share
1 answer

How to create transparent and molded windows

The link above should help you a lot, I used this tutorial before. Made by Sun!

+2
source

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


All Articles