Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2010
    Posts
    59
    Rep Power
    0

    Unhappy Problem Showing A Big String?

    I have some urgent work to produce for tomorrow. Unfortunately I have just noticed a major bug(!)

    I have been building a text analyser. One of the features is that it loads text from file and then places the text onto the screen in a JTextArea.

    My problem is, is when the file is above a certain size the Java program effectively "freezes". I would really beg for some reasons why this is happening. I am loading the file into an ArrayList<String> and then placing the contents into a JTextArea.

    I did an earlier version of this program using a JOptionPane with an embedded JFrame and this problem did not exist. I used the same method to read the data from file (so I know this is not the problem). I developed a new version as I needed to do something more advanced than JOptionPane and am using NetBeans.

    Please some one suggest a solution.

    I beg you!

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Create Map, Problem with showing places
    By Jonke-Pö in forum AWT / Swing
    Replies: 0
    Last Post: 03-22-2010, 12:22 AM
  2. String Problem
    By gnomewise in forum New To Java
    Replies: 1
    Last Post: 10-19-2008, 12:37 PM
  3. Replies: 9
    Last Post: 09-30-2008, 07:30 AM
  4. string replace problem
    By soni in forum Advanced Java
    Replies: 8
    Last Post: 07-06-2008, 01:21 AM
  5. String and Arry Problem
    By farakhkhan@yahoo.com in forum New To Java
    Replies: 3
    Last Post: 03-31-2008, 10:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •