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

  2. java - Customize JOptionPane Dialog - Stack Overflow

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

  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, 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, …

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

  6. No se me abre el cuadro de diálogo con JOptionPane (JAVA)

    Apr 3, 2024 · En este caso, estaba tratando de acceder a la clase javax.swing.JOptionPane desde la clase Entrada_Ejemplo2, pero parece que el módulo en el que estaba el programa no tenía acceso …

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

  8. java - How to do a custom JoptionPane - Stack Overflow

    Mar 3, 2014 · A textfield and two radio buttons should be small enough to fit into a JOptionPane, so perhaps it's best to keep using that. Add the JTextField with the two radio buttons to a JPanel, and …

  9. how to show JOptionPane on the top of all windows

    JOptionPane optionPane = new JOptionPane(); JDialog dialog = optionPane.createDialog("Title"); dialog.setAlwaysOnTop(alwaysOnTop); dialog.setVisible(true); There is no guarantee that the …

  10. java - Como funciona el principio de JOptionPane para evitar que se ...

    Nov 19, 2019 · Quiero saber como funciona el JOptionPane o cualquier mensaje de alerta, confirmación, etc. Porque quiero programar un frame que mientras no lo cierre, evite la ejecución del …