JOptionPane in Java

JOptionPane in Java is used to provide dialog boxes such as message dialog box, input dialog box and confirm dialog box. These dialog boxes are used to get input from user or just to display information.

there are 3 common methods of the JOptionPane which is :

  • showMessageDialog()
  • showInputDialog()
  • showConfirmDialog()
Continue reading JOptionPane in Java