title: Change jFrame to jDialog?
body: <p>I've been trying to change a jFrame to a jDialog so it inherits the icon of the main window but I don't have a clue how to do that. I tried setting it's code from <code>public class jSemestriala extends javax.swing.JFrame</code>to <code>public class jSemestriala extends javax.swing.JDialog</code> but that didn't change the icon of the window. Any ideas? I'm using NetBeans 7.0.1</p>