1 Answer
-
The class is javax.swing.JOptionPane and it has static methods like showMessageDialog() and showInputDialog() to display messages in “pop up” dialog boxes.
http://docs.oracle.com/javase/8/docs/api/index.htm…
The class description in the above link has examples of different uses of the class, as does the Java Tutorials trail on creating a GUI with Swing: