NewLine

If I declare private final String A = "a";priavte final String B = "b";In a JOptionPane, if I want a and b displayed, one under the other,what do I use for newline.A + B givesABI want:AB
[263 byte] By [javajono] at [2007-9-26 1:47:55]
# 1
The line separator string is given by System.getProperty("line.separator") although usually simply '\n' is enough: Srting AB = A+'\n'+B.
jsalonen at 2007-6-29 2:47:34 > top of Java-index,Archived Forums,Java Programming...