What is the easies way to put the contents of a text file into a JTextArea? This is what I got so far.

try{
FileReader in = new FileReader(fileChooser.getSelectedFile());
int c;
textBox.setText("");

while ((c = in.read()) != -1) {

}

in.close();
}catch(java.io.IOException f){