07 February 2004 - java_dev (original) (raw)

01:10 pm - v3g4n - escape characters \t & \n with JOptionPane & FileWriter So I've modified the code so that JOptionPane and my output .txt file recognize when a new line is necessary by using \r\n instead of earlier when I was just using \n.Now in regards to tabbing, the .txt file recognizes \t but JOptionPane does not. If I just use spaces, JOptionPane looks perfect but the .txt file isn't all lined up properly. Is there a way of using tab with JOptionPane?( The CodeCollapse )