About 64 results
Open links in new tab
  1. java - Customize JOptionPane Dialog - Stack Overflow

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

  2. 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 javax.swing.JOptionPane; …

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

    Oct 13, 2013 · How do I display all of this information here in just one dialog? Every time I run the file different dialog boxes appears, I really need them to appear in just one dialog box with all the informat...

  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 in a …

  5. java - JOptionPane, exemplo? - Stack Overflow em Português

    Aug 18, 2014 · 6 Bem, o JOptionPane precisa de todos esses complementos: JOptionPane.showOptionDialog(parentComponent, message, title, optionType, messageType, icon, …

  6. 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.

  7. java - JOptionPane to get password - Stack Overflow

    Jan 16, 2012 · JOptionPane can be used to get string inputs from user, but in my case, I want to display a password field in showInputDialog. The way I need is the input given by the user should be …

  8. Realizar una Calculadora en Netbeans con JOptionPane

    Jan 13, 2020 · Calculadora Básica con JOptionPane Buenas, necesito ayuda, en clase me pasaron el codigo de una calculadora sencilla. En resumen, me pidieron que en vez de usar system.out.println …

  9. How to set the location of "JOptionPane.showMessageDialog"

    Dec 7, 2012 · JOptionPane.showMessageDialog(thisFrame, "Your message."); And this will display the message at the centre of the screen irrelative to any JFrame.

  10. 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 refFrame =