How to get ArrayList shuffle to produce more than one not all the same
<p>Hi complete novice with Java, this is my second assignment. I have written a method for a lottery code using array list, I have two issues:</p>

<ul>
<li>The same shuffled list is produced for every line requested.</li>
<li>The lines print down not across.</li>
</ul>

<hr>

<pre><code>public static void irishLottery() {
    Scanner input = new Scanner(System.in);
    double cost = 0;
    System.out.println("How many lines of lottery up to 10 would you like?");
    int linesam = input.nextInt();

    ArrayList&lt;Integer&gt; numbers = new ArrayList&lt;Integer&gt;();
    //define ArrayList to hold Integer objects

    for (int lottonos = 0; lottonos &lt; 45; lottonos++) {
        numbers.add(lottonos + 1);
    }
    Collections.shuffle(numbers);

    System.out.print("Your lottery numbers are: ");

    for (int lncounter = 1; lncounter &lt;= linesam; lncounter++) {
        for (int j = 0; j &lt; 6; j++) {
            System.out.println(numbers.get(j) + " ");

        }
    }
}
</code></pre>
