- public class abc {
- public static void main(String[] args) {
- String msg = "my name is :
- italics abc "
- + "
- bold and "
- + "
- underlined..."
; - JLabel label = new JLabel(msg);
- label.setFont(new Font("serif", Font.PLAIN, 14));
- JOptionPane.showConfirmDialog(null, label);
- System.exit(0);
- }
- }
i hope it really work :-)
ReplyDelete>>wizardkhinz.blogspot.com