First of all, I am very basic at java. I am trying to browse a .txt file and load the contents of it, into the text area. I am completed the part, till which I receive the f
BufferedReader in = null; try { in = new BufferedReader(new FileReader(selFile)); String str; while ((str = in.readLine()) != null) { jtextArea.append(str); } } catch (IOException e) { } finally { try { in.close(); } catch (Exception ex) { } }