DonutHole
A JAR file that gives Java macOS Desktop Developers the ability to mouse and keyboard through translucent pixels, which has been broken in Java since release 1.7 in 2011.
Add this JAR to your Java Desktop project to have macOS mouse and keyboard events go through your applications’ translucent pixels and sent to the applications behind yours.
A TRANSPARENT pixel is a pixel that is COMPLETELY see through (Opacity = 0.).ย A TRANSLUCENT pixel is one that is PARTIALLY see through.ย “DonutHole” sees through TRANSLUCENT pixels.ย That means YOU get to decide what opacity level (255 down to 0) allows seeing through.ย This allows partially transparent pixels near your completely transparent pixels, making smooth visible edges.
The JAR uses default settings to work immediately.ย But, it allows interaction with the Quasar Java Class to turn seeing through on or off, or to change the opacity see through level. Supports:
- Translucent pixels
- Translucent threshold level
- On/off per window
- Mouse
- Keyboard
No Additional Costs
DonutHole is licensed to a Java Developer for a one-time purchase price, allowing unrestricted use in their own applications. They may integrate the DonutHole JAR into any number of products that they develop and distribute, whether commercial or free, without incurring additional licensing fees or royalties.
The Broken Transparent Click Through Java Problem
macOS Java Desktop Developers with an app that interacts with apps behind it, discover that Java doesn’t support this.ย It is frustrating and a huge technical hurdle.
Java Developers have to use alternative approaches to get around this broken Java feature. For example, imaging that a Java Developer creates an application that records the user’s desktop screen and allows the user to manipulate the applications through a translucent rectangle in the application’s control panel.ย The user should be able to interact with their behind application with the mouse and keyboard, but the Java application won’t work.
The Java Developer then has to make 4 separate windows to simulate a single window that has a rectangle translucent cut out. With DonutHole, you can do want you want and just make a single window with a translucent cut out!ย The user can click through and type keyboard into their application behind your application.ย Finally!ย You can do what you should have been able to do.ย Make a normal Java application that allows translucent pixel click through.
Boyd Edmondson –
I think you are going to love this product!