title: Is it possible to create a new line in eclipse console via text from a text file?
body: <pre class="lang-java prettyprint-override"><code>try {
        BufferedReader br = new BufferedReader(new FileReader(factFind)); //location of text file
        String fileCon;
        while((fileCon = br.readLine()) != null) {
        factarray.add(fileCon);  //factarray is an arraylist 
        }
  }
  String[] factarray1 = factarray.toArray(new String [0]); // creating an array from arraylist
  System.out.println(&quot;\nFact-&quot; + randni + &quot;\n&quot;);
  System.out.println(factarray1[randn]);
  </code></pre>
  <p>How do I make this text line create a new line in the running console (\n does not seem to work)</p>