Java:Reading Error

I got problem in reading the file at the Gui text area hopefully you help me out guys to fix the statement of reading file thank you very much

 public static javax.swing.JTextArea jTextArea1;
    BufferedReader br = null;

    try {

        String sCurrentLine;

        br = new BufferedReader(new FileReader("C:\\testing1.txt"));

        while ((sCurrentLine = br.readLine()) != null) {
  , "C:\\testing1.txt"); \\the problem is here

    } catch (IOException e) {
    } finally {
        try {
            if (br != null)br.close();
        } catch (IOException ex) {


You can use


but when you use


that will append data at the end of already read text in jTextArea

Try one of the following:, null);



Have a look at this link:

Need Your Help

Add Google Adsense to an email


Is this answer in google's support enouh to say that is ok to put ads in email's I send to my customers?

XNA Textured primitives are see-through

c# xna textures

I'm having a problem with primitives on XNA. As you can see in the link,, some of the textured walls are see-through and some aren't. Can someone explain why this happens and

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.