Use JFrame instead of JDialog in NetBeans Wizard

I have an application using the NetBeans Wizard Framework, as described here and. My application works fine, but the problem is that the application does not appear in the Windows taskbar. I'm sure the problem is that the Wizard Framework uses a JDialog instead of a JFrame, but I cannot figure out if this can be changed.

If anyone has experience with this framework, let me know if it can appear on the taskbar.

+5
source share
2 answers

The change is pretty simple.

  • Open the form in NetBeans.
  • Change extends javax.swing.JDialogto extends javax.swing.JFrame.
  • Save the file and close it.
  • Re-run the file.
  • . .
  • .
  • .

.

+4

Wizard Framework JDialog JFrame, , .

  • JFrames, , setToFront, setOwner, iconify ..

  • JDialog JWindow JFrame

  • unecorated JDialog, setModal() ModalityTypes

- , , .

  • Swing Framework

  • you can use splashscreen insteadJDialog/JWindow

+1
source

All Articles