Re: using JOptionPane's error icon
- From: "Aki \"Sus\" Laukkanen" <aki.laukkanen@xxxxxxxxxxx>
- Date: Wed, 27 Apr 2005 10:02:53 +0300
hkongogo@xxxxxxxxx wrote:
I'm writing my own error msg dialog and want to use the JOptionPane's error icon. Pls help
You mean like this:
JOptionPane.showMessageDialog(<parent frame>,"<error message text>","<error message title>",JOptionPane.ERROR_MESSAGE);
For such basic information about Swing components, you should bookmark at least Sun's Swing tutorial pages, for example <http://java.sun.com/docs/books/tutorial/uiswing/components/components.html>.
-- -Aki "Sus" Laukkanen "Älä multa kysy tai mä vastaan!" "Don't ask me or I'll answer!" .
- Follow-Ups:
- Re: using JOptionPane's error icon
- From: Mikael Flensborg
- Re: using JOptionPane's error icon
- References:
- using JOptionPane's error icon
- From: hkongogo@xxxxxxxxx
- using JOptionPane's error icon
- Prev by Date: using JOptionPane's error icon
- Next by Date: Re: using JOptionPane's error icon
- Previous by thread: using JOptionPane's error icon
- Next by thread: Re: using JOptionPane's error icon
- Index(es):