Top "Jdialog" questions

The main Java Swing class for creating a dialog window.

Java Dialog - Find out if OK is clicked?

I have a dialog for a client-GUI that asks for the IP and Port of the server one wants to …

java swing user-interface jdialog joptionpane
ActionListener on JOptionPane

I am following the Oracle tutorial on how to create a custom dialog box: http://docs.oracle.com/javase/tutorial/…

java swing jdialog joptionpane
Can I set a timer on a Java Swing JDialog box to close after a number of milliseconds

Hi is it possible to create a Java Swing JDialog box (or an alternative Swing object type), that I can …

java swing timer scheduler jdialog
Java, how can I popup a dialog box as only an image?

I'm trying to find a way to replace all the contents of a JDialog to simply an image. It's for …

java image swing jdialog
Java Swing: positioning dialog on top of existing window

Can someone show simple Java Swing code/web resource that will position the popup dialog center-aligned on top of an …

java swing jdialog
Returning value from JDialog; dispose(), setVisible(false) - example

I know, that this question appears quite frequently in SO like here: but I would like to present some very …

java swing dispose jdialog
Disable JFrame when a new JFrame is opened

I am trying to disable the "main" JFrame when the new frame pops up. I want it so you can …

java swing jframe modal-dialog jdialog
how to ensure that JDialog always stays on top

I have a JDialog that takes a name from the user. Behind the JDialog, is an applet. I dont want …

java visibility jdialog
JOptionPane.createDialog and OK_CANCEL_OPTION

I have a custom dialog box that collects two strings from the user. I use OK_CANCEL_OPTION for the …

java swing jdialog joptionpane
How do I make my SwingWorker example work properly?

I've made my own SwingWorker example to get familiar with how it works. What I'm wanting to do is the …

java swing jdialog swingworker