Top "Jdialog" questions

The main Java Swing class for creating a dialog window.

Setting the maximum size of a JDialog?

The short version: do I need to do something tricky to get JDialog's setMaximumSize() to work? The full version: I've …

java swing jdialog
wait for jdialog to close

I have a class FilePathDialog which extends JDialog and that class is being called from some class X. Here is …

java swing jdialog
How to close a modal JDialog when user clicks outside of JDialog?

I have a Undecorated Modal JDialog which I want to setVisible(false) when the user clicks outside of the modal …

java swing modal-dialog jdialog
To Add Minimize /Maximize button to JDialog orJPanel

Is it possible to add maximize/minimize button to the JDialog? if not then can we add these buttons to …

java swing jpanel jdialog
Show JDialog on Windows taskbar

I'm trying to display a JDialog in Windows. How do I show a JDialog (like JFrame) on my Windows taskbar?

java swing jdialog
Undecorated JDialog border

I have a question regarding the border around an undecorated JDialog using the Metal L&F. Look at this …

java swing border jdialog uimanager
How to really close a JDialog with Java code?

I know setVisible(false),dispose(),but they can't really close a JDialog. When I have the other thread stop, the …

java swing jdialog
JDialog with WindowListener - windowClosing not fired

I have a class that extends JDialog that have a window listener: class MyClass extends JDialog { public MyClass() { setDefaultCloseOperation( JDialog.…

java swing jdialog windowlistener
Remove Top-Level Container on Runtime

Unfortunately, it looks like this recently closed question was not well understood. Here is the typical output: run: Trying to …

java swing runtime jdialog
Unable to make JDialog modal

I am trying to open a new JDialog when the "Register" Button is clicked.. But I am unable to make …

java swing jframe jdialog modality