title: Java - Draw components or images to screen without a window
body: <p>I am kind of new to programming but I already do know a lot. I have always stayed in the default window but now I'm at the point where I can't do things that I want to do with what I know. I'm trying to make a class that shows a custom window that is transparent, it is using a <code>JFrame</code> called <code>CFrame</code> but to set it transparent I have to use:</p>
  
  <pre><code>try
  {
      AWTUtilities.setWindowOpaque(CFrame, false);
  }
  
  catch(Exception ex)
  {
      System.err.println("Failed to set CFrame Opaque");
  }
  </code></pre>
  
  <p>But since there are different JVM's AWTUtilities, which are from Sun, doesn't work. So it would be helpful if some one knows how to fix my problem or knows how to draw components and images to screen.</p>