About 488,000 results
Open links in new tab
  1. java - How to use JOptionPane? - Stack Overflow

    Apr 9, 2024 · I'm learning Java and in one of my exercise I have to do a logging frame which displays warning after push cancel button, before typing id or password. import …

  2. How do display multiple lines in JOptionPane? - Stack Overflow

    Oct 13, 2013 · How do display multiple lines in JOptionPane? Asked 12 years, 1 month ago Modified 7 years, 2 months ago Viewed 21k times

  3. java - Customize JOptionPane Dialog - Stack Overflow

    Jun 19, 2015 · Customize JOptionPane Dialog Asked 13 years, 3 months ago Modified 10 years, 5 months ago Viewed 50k times

  4. java - JOptionPane - input dialog box program - Stack Overflow

    Oct 10, 2012 · Write a program that uses input dialog boxes to read three test marks, each out of 100. The program discards your lowest mark and shows the average of the two higher marks …

  5. JOptionPane with multiple buttons on each line? - Stack Overflow

    Dec 29, 2011 · How would I go about displaying a JOptionPane.showinputDialog() with multiple JButtons on each line? I am not talking about the Yes, No, Cancel buttons but multiple custom …

  6. java - JOptionPane : change the Icon - Stack Overflow

    Furthermore, the BasicOptionPaneUI.getIcon() method appears to retrieve a default icon any time it finds that null was specified for the icon. So how can calling any of the JOptionPane …

  7. java - Add Image to JOptionPane - Stack Overflow

    Dec 20, 2012 · 20 JOptionPane is a very flexible API. Your first port of call should be the Java API Docs and the Java Trails, specific How to use Dialogs

  8. java - Making a JOptionPane with 4 options - Stack Overflow

    Aug 25, 2016 · I need to make a custom dialog with 4 options but as far as I can tell you can only have one with three options. Here is how I would make an option pane with 3 options: Frame …

  9. java - JOptionPane Yes or No window - Stack Overflow

    Dec 6, 2011 · I am trying to create a message with a Yes or No button. Then a window will appear with a certain message that depends on if the user clicked Yes or No. Here is my code: public …

  10. java - JOptionPane Input to int - Stack Overflow

    I am trying to make a JOptionPane get an input and assign it to an int but I am getting some problems with the variable types. I am trying something like this: Int ans = (Integer) JOptionPane.