Top "Jdialog" questions

The main Java Swing class for creating a dialog window.

Java - How to create a custom dialog box?

I have a button on a JFrame that when clicked I want a dialog box to popup with multiple text …

java swing jframe jdialog joptionpane
Button for closing a JDialog

I want to add a button (JButton) at the bottom of a JDialog which should close the JDialog when pressed. …

java swing jdialog
How can I return a value from a JDialog box to the parent JFrame?

I have created a modal JDialog box with a custom drawing on it and a JButton. When I click the …

java swing return-value jdialog
Set location of JDialog relative to JFrame

Is there a way to set a dialog location relative to a JFrame? I would like to center the dialog …

java swing jframe jdialog
How do I close a JDialog and have the Window Event Listeners be notified?

Is there a way to close a JDialog through code such that the Window event listeners will still be notified? …

java swing jdialog
action listener to JDialog for clicked button

I have main application where is table with values. Then, I click "Add" button, new CUSTOM (I made it myself) …

java swing jbutton actionlistener jdialog
How do I remove the maximize and minimize buttons from a JFrame?

I need to remove the maximize and minimize buttons from a JFrame. Please suggest how to do this.

java swing jframe jdialog
Java listener on dialog close

I have a Java app that displays a list from a database. Inside the class is the following code to …

java swing jdialog windowlistener
What is the difference between a JFrame and a JDialog?

What is the difference between a JFrame and a JDialog? Why can't we use setDefaultCloseOperation(JDialog.EXIT_ON_CLOSE); for …

java swing jframe jdialog
How to set the JFrame as a parent to the JDialog

I am having trouble to set the frame as a owner to the dialog. Normally when I extend JDialog class …

java swing jframe modal-dialog jdialog