why ehen appending text file to text area, all the text in 1 line..
please hlp
publicvoid actionPerformed(ActionEvent e)
{
TArea.setText("");
try
{
String StrNeeded;
BufferedReader BR;
BR=new BufferedReader(new InputStreamReader(new FileInputStream("Data.txt")));
StrNeeded=BR.readLine();
while(StrNeeded!=null)
{
TArea.append(StrNeeded);
StrNeeded=BR.readLine();
}
}
catch(Exception excep)
{
}}
}
this is my code m problem is that,
i read a text file that has many lines, when i read it, i append it into the textarea, but what happend was all the text in my text area is in 1 line only(the other line is also appended but it is appended in the sama line.. help me

