title: How change the image of open Dialog box and how to customize Dialog box in swing?
body: <p>When I open file that show the dialog box, I need to change Java image and add my own image. How to customize dialog box?</p>
  
  <p>For example, I need to add the Encoding to the dialog box and how to add different type of files to Files of type dropdown box. For Example, i add <code>text</code>, <code>java</code>, <code>html</code> to <code>Files of type</code> box. </p>
  
  <p>Here is my code,</p>
  
  <pre><code>FileDialog fd = new FileDialog(OpenExample.this, "Select File", FileDialog.LOAD);
  fd.setVisible(true);
  </code></pre>