Java Netbean Only one line gets written into a file

Printable View