S
sanna
Hi,
In a part of my program I am openeing an error warnign as following:
if (myVal != yourVal) {
JOptionPane.showMessageDialog(null,"WARNING: \n MyVal does NOT
yourVal.","Error Dialog",JOptionPane.ERROR_MESSAGE);
}
But I need that message "WARNING: \n MyVal does NOT yourVal" printed
out in red color. and currently its printing in black. Any suggestions?
Thanks,
ecoswiss
In a part of my program I am openeing an error warnign as following:
if (myVal != yourVal) {
JOptionPane.showMessageDialog(null,"WARNING: \n MyVal does NOT
yourVal.","Error Dialog",JOptionPane.ERROR_MESSAGE);
}
But I need that message "WARNING: \n MyVal does NOT yourVal" printed
out in red color. and currently its printing in black. Any suggestions?
Thanks,
ecoswiss