I am a student in my second Java course at the Uni,
January 1, 2007 at 11:55 AM
I am a student in my second Java course at the University of Phoenix. I have been desperately trying to find a way to set a custom icon within the construct of JOptionPane.ShowMessageDialog. I have looked on Sun's web site, and I have searched high and low, but find it very difficult to find the information I am looking for.
Normally, an icon of an "i" with a circle appears to the left of the message displayed in an JOptionPane dialog. I simply want to replace that image with another icon that is a GIF file. I know this is theoretically possible, but would love any information you can provide on how to accomplish this goal.
View All Comments
| View Tutorial