title: How to remove drop shadow of Java AWT Frame on OSX?
body: <p>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.</p>
  
  <p>If I was using a <code>JFrame</code> this could be done using:</p>
  
  <pre><code> JRootPane root = frame.getRootPane();
   root.putClientProperty( "Window.shadow", Boolean.FALSE );
  </code></pre>
  
  <p>Any similar possibility for an AWT Frame?</p>
  
  <p>I' using the Framework <a href="http://processing.org/" rel="nofollow">Processing</a> and my code there looks like this:</p>
  
  <pre><code>void setup(){
    frame.removeNotify();
    frame.setUndecorated(true);
  }
  </code></pre>
  
  <p>Processing itself does the main Frame creation, here is the <a href="http://code.google.com/p/processing/source/browse/trunk/processing/core/src/processing/core/PApplet.java" rel="nofollow">source</a>.</p>