title: making JFrame with custom texture
body: <p>How to set a custom window's frame header?</p>
  
  <p>Instead of this blue header I want to use a texture from image.</p>
  
  <p>code:</p>
  
  <pre><code>final JFrame frame = new JFrame();
  BufferedImage image = ImageIO.read(new File("d:/texture.bmp"));
  </code></pre>
  
  <p>default window:</p>
  
  <p><img src="https://i.stack.imgur.com/id8VV.png" alt="enter image description here"></p>