How to remove drop shadow of Java AWT Frame on OSX?
问题 Is it possible to disable the drop shadow of a Java AWT application on OS X? I want to create a transparent window, which works fine, but I cannot get rid of the drop shadow. If I was using a JFrame this could be done using: JRootPane root = frame.getRootPane(); root.putClientProperty( "Window.shadow", Boolean.FALSE ); Any similar possibility for an AWT Frame? I' using the Framework Processing and my code there looks like this: void setup(){ frame.removeNotify(); frame.setUndecorated(true); }