Use JFrame instead of JDialog in Netbeans Wizard

java, netbeans, swing, wizard

Solution

Changing is quite easy.

- Open the form in NetBeans.

- Change `extends javax.swing.JDialog` to `extends javax.swing.JFrame`.

- Save the file and close it.

- Reopen the file.

- In designer mode, make a change. I usually just change the name of a component.

- Save the file.

- Undo the change and save the file again.

You should be all set.

Problem

I have build an application using the Netbeans Wizard Framework as outlined here and here. I have my application working properly, but the problem I have is that the application does not show in the windows taskbar. I am pretty sure the problem is that the Wizard Framework uses a JDialog instead of a JFrame, but I can't figure out if that can be changed. If anyone has experience with this framework, please let me know if it can be made to appear in the taskbar.

Original source