Coming from .NET i am so used calling Alert() in desktop apps. However in this java desktop app, I just want to alert a message saying \"thank you for using java\" I have to
If you don't like "verbosity" you can always wrap your code in a short method:
private void msgbox(String s){ JOptionPane.showMessageDialog(null, s); }
and the usage:
msgbox("don't touch that!");