Creating a MessageBox in Java
by Paul Kiddie • January 5, 2010 • .net, c#, java • 0 Comments
I wanted to see if there was a Java equivalent of .NET’s MessageBox class. Turns out there is but it’s a little more hidden away as a static method on JOptionPane, so I’ve pasted the code here for referring to it in the future: JOptionPane.showMessageDialog(null,”message”,”title”)); This creates and shows a message dialog with no parent [...]
Read more →