Top "Joptionpane" questions

JOptionPane is a Java class that makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.

How to present a simple alert message in java?

Coming from .NET i am so used calling Alert() in desktop apps. However in this java desktop app, I just …

java swing joptionpane
Multiple input in JOptionPane.showInputDialog

Is there a way to create multiple input in JOptionPane.showInputDialog instead of just one input?

java swing joptionpane
JOptionPane Yes or No window

I am trying to create a message with a Yes or No button. Then a window will appear with a …

java swing return-value joptionpane
JOptionPane Input to int

I am trying to make a JOptionPane get an input and assign it to an int but I am getting …

java swing user-input int joptionpane
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
Convert timestamp to string

In java I need to display 'time of the program start' It must be in String. How do I get …

java string timestamp joptionpane
JOptionPane YES NO OPTION

I got an JOptionPane and yes and no buttons. But, whichever button you click it still exists. HELP! Heres the …

java swing applet awt joptionpane
How to make an input form in Java code (not Netbeans using JForm)?

I want to make an input form in Java so that the user can enter details. Something like this: My …

java swing forms user-input joptionpane
How to handle cancel button in JOptionPane

I had created a JOptionPane of type showInputDialog. When it opens it, it shows me two buttons: OK and Cancel. …

java swing jbutton joptionpane
JOptionPane to get password

JOptionPane can be used to get string inputs from user, but in my case, I want to display a password …

java swing user-interface passwords joptionpane