May 3, 2001 #1 mhall Technical User Sep 26, 2000 13 GB I am using a JOptionPane to display a message, my problem is that I would like to display this message on several lines e.g. text1 =1 text2 =2 instead of text1 = 1 and text2 = 2 Thanks Matt
I am using a JOptionPane to display a message, my problem is that I would like to display this message on several lines e.g. text1 =1 text2 =2 instead of text1 = 1 and text2 = 2 Thanks Matt
May 3, 2001 #2 BZJavaInst Programmer Jan 17, 2001 67 US Have you tried the escape sequence character for return key? That is put \n in your string. Brian Upvote 0 Downvote