JOptionPane icons
843804Dec 21 2004 — edited Dec 28 2004Hi,
I want to have a simple 'OK' message box in my application. A user hits the save button and they get a nice 'OK, you have saved your thingo' message dialog.
Why is it that when I have ....
JOptionPane.showMessageDialog(MainFrame.getInstance(), message,
windowTitle, JOptionPane.OK_OPTION);
.... it gives me a dirty ugly great big red cross on my dialog. I don't want to have a red cross.... what in that line of code indicates that the dialog is somehow an error????
I want to have a nice green tick.... or if not, then a info icon, or something aesthetic.
anyone know????