title: Should I be concerned using AWTUtilities.setWindowShape()?
body: <p>I am using the <code>AWTUtilities</code> class in my application to create custom window shapes.  As far as I know, there is no other way to do it.  It is a requirement.</p>
  
  <p>The javadoc generation gives me this error: </p>
  
  <blockquote>
    <p>warning: com.sun.awt.AWTUtilities is Sun proprietary API and may be removed in a future release</p>
  </blockquote>
  
  <p>What exactly does this mean?  I can use it, but it may stop working with any release?  Why put it in, then?  More importantly, and the real question here, if Sun takes it out, will they likely replace it with another way to do the same thing?  Is that what the warning is for?</p>
  
  <p>I suppose I could just check for the presence of the AWTUtilities class before calling the code.  But that's just obnoxious if I don't need to do it.</p>
  
  <p>Does anyone have any experience with similar classes?  Were they eventually accepted into the API and the warning removed or replaced with another method of doing the same thing?  Do I need to be concerned about this?</p>
  
  <p>FYI, I have read this:</p>
  
  <p><a href="https://stackoverflow.com/questions/1416869/how-to-distribute-awtutilities">How to distribute AWTUtilities</a></p>