Could someone please tell me how to set the font in a message dialog box? Just on a hunch, this is what I tried, but to no avail.
Any help would be appreciated.
tbuch
Code:
JOptionPane jopt = new JOptionPane();
String result;
result = "Print this string.";
jopt.setFont(new Font("Monospaced", Font.BOLD, 12));
jopt.showMessageDialog( null, result, "Results", JOptionPane.PLAIN_MESSAGE );
Any help would be appreciated.
tbuch