N
Nagesh
hi,
I am trying to add multilines to JOptionPane.showMessageDialog. But
JOptionPane is not rendering the lines as I want. It is ignoring the
new line character ("\n"). How can i add the multilines to JOptionPane.
If that is not possible can i fix the width of JOptionPane so that it
automatically comes in multilines.
I am trying the following code example.
JOptionPane.showMessageDialog(NULL,"First line \n.Second line.\n Third
line \n.etc....");
If any body knows pls let me know.
nagesh
I am trying to add multilines to JOptionPane.showMessageDialog. But
JOptionPane is not rendering the lines as I want. It is ignoring the
new line character ("\n"). How can i add the multilines to JOptionPane.
If that is not possible can i fix the width of JOptionPane so that it
automatically comes in multilines.
I am trying the following code example.
JOptionPane.showMessageDialog(NULL,"First line \n.Second line.\n Third
line \n.etc....");
If any body knows pls let me know.
nagesh