The code i used in JGrasp to show the image is not working in Netbeans
The code i used in JGrasp is
final ImageIcon icon1 = new ImageIcon("image/money.gif"); JOptionPane.showMessageDialog(null, " blah blah", "Text", + JOptionPane.INFORMATION_MESSAGE, icon1);
And if i wanted to show an image in JOptionPane.showInputDialog would it be the same for JOptionPane.showMessageDialog ?
Any help is greatly appreciated!