VisualBasic and a lot of other languages have a handy function to show a message box to the user. In typical Java fashion, Java’s equivalent has a lot more power, but also complex. To get simple message box functionality, you have to specify a number of options: JOptionPane.showMessageDialog(parent, "Message", "Title", JOptionPane.INFORMATION_MESSAGE, icon); This shows a [...]
Explore related content: HowTo, Java, message box, Swing

