Bug in JTextArea/JTextPane ??

Hi,
I am facing huge memory leak problems with JTextArea/JTextPane. After considerable investigation, I found out that the Document associated with the component is not being GC'ed properly. I ran OptimizeIt and found out that the memory is being consumed by the JTextPane.setText() method. I have implmented a HTML viewer to display large amounts of HTML data and it is leaking memory like crazy on each successive execution. Any thoughts ??
JDK1.4.2_01, WinXP
Here is the code fragment:
public class ReportViewer extends BaseFrame implements FontChange_int
     private     String          cReport;          
     private boolean          testMode = false;     
     // Graphical components
     private     BorderLayout     cMainLayout;
     private     JButton          cClose;
     private     JTextPane     cRptPane;
     private     Button          cClose2;
     private ViewUpdater cViewUpdater = null;
     // Constants
     final     static     int     startupXSize = 650;
     final     static     int     startupYSize = 500;
     // Methods
     public ReportViewer(String report, ReportMain main)
          // BaseFrame extends JFrame
          super("Reports Viewer", true, startupXSize, startupYSize);
          testMode = false;
          cReport = report;
          cViewUpdater = new ViewUpdater();
          initialize();
     public void initialize()
          // Create main layout manager
          cMainLayout = new BorderLayout();
          getContentPane().setLayout(cMainLayout);
          // Quick button bar - print, export, save as
          JToolBar     topPanel = new JToolBar();
          topPanel.setBorder(new BevelBorder(BevelBorder.RAISED) );
          java.net.URL     url;
          topPanel.add(Box.createHorizontalStrut(10));
          url = Scm.class.getResource("images/Exit.gif");
          cClose = new Button(new ImageIcon(url), true);
          cClose.setToolTipText("Close Window");
          topPanel.add(cClose);
          getContentPane().add(topPanel, BorderLayout.NORTH);
          // Main view window - HTML
          cRptPane = new JTextPane();
          cRptPane.setContentType("text/html");
          cRptPane.setEditable(false);
          JScrollPane sp = new JScrollPane(cRptPane);
          getContentPane().add(sp, BorderLayout.CENTER);
          // Main button - Close
          JPanel     bottomPanel = new JPanel();
          url = Scm.class.getResource("images/Exit.gif");
          cClose2 = new Button(new ImageIcon(url), "Close");
          bottomPanel.add(cClose2);
          getContentPane().add(bottomPanel, BorderLayout.SOUTH);
          cClose.addActionListener(new ActionListener() {
               public void actionPerformed(ActionEvent e) {
                    closeWindow();
          cClose2.addActionListener(new ActionListener() {
               public void actionPerformed(ActionEvent e) {
                    closeWindow();
          show();
          cViewUpdater.setText(cReport);
          SwingUtilities.invokeLater(cViewUpdater);
     protected void
     closeWindow()
          super.closeWindow();
          // If I add the following lines, the GC reclaims
// part of the memory but does not flush out the text
// component as a whole
          /*Document doc = cRptPane.getDocument();
          try
               doc.remove(0,doc.getLength());
          catch(Exception e) {;}
          doc=null; */
          cRptPane=null;
          cReport = null;
          cViewUpdater = null;
          dispose();
     private class ViewUpdater implements Runnable
          private String cText = null;
          public ViewUpdater() {;}
          public void
          setText(String text) {
               cText = text;
          public void
          run() {
               cRptPane.setText(cText);
               cRptPane.setCaretPosition(0);
               cText = null;
     // Local main - for testing
     public static void main(String args[])
          //new ReportViewer(str,comp);
Sudarshan
www.spectrumscm.com

Hi,
I am facing huge memory leak problems with JTextArea/JTextPane. After considerable investigation, I found out that the Document associated with the component is not being GC'ed properly. I ran OptimizeIt and found out that the memory is being consumed by the JTextPane.setText() method. I have implmented a HTML viewer to display large amounts of HTML data and it is leaking memory like crazy on each successive execution. Any thoughts ??
JDK1.4.2_01, WinXP
Here is the code fragment:
public class ReportViewer extends BaseFrame implements FontChange_int
     private     String          cReport;          
     private boolean          testMode = false;     
     // Graphical components
     private     BorderLayout     cMainLayout;
     private     JButton          cClose;
     private     JTextPane     cRptPane;
     private     Button          cClose2;
     private ViewUpdater cViewUpdater = null;
     // Constants
     final     static     int     startupXSize = 650;
     final     static     int     startupYSize = 500;
     // Methods
     public ReportViewer(String report, ReportMain main)
          // BaseFrame extends JFrame
          super("Reports Viewer", true, startupXSize, startupYSize);
          testMode = false;
          cReport = report;
          cViewUpdater = new ViewUpdater();
          initialize();
     public void initialize()
          // Create main layout manager
          cMainLayout = new BorderLayout();
          getContentPane().setLayout(cMainLayout);
          // Quick button bar - print, export, save as
          JToolBar     topPanel = new JToolBar();
          topPanel.setBorder(new BevelBorder(BevelBorder.RAISED) );
          java.net.URL     url;
          topPanel.add(Box.createHorizontalStrut(10));
          url = Scm.class.getResource("images/Exit.gif");
          cClose = new Button(new ImageIcon(url), true);
          cClose.setToolTipText("Close Window");
          topPanel.add(cClose);
          getContentPane().add(topPanel, BorderLayout.NORTH);
          // Main view window - HTML
          cRptPane = new JTextPane();
          cRptPane.setContentType("text/html");
          cRptPane.setEditable(false);
          JScrollPane sp = new JScrollPane(cRptPane);
          getContentPane().add(sp, BorderLayout.CENTER);
          // Main button - Close
          JPanel     bottomPanel = new JPanel();
          url = Scm.class.getResource("images/Exit.gif");
          cClose2 = new Button(new ImageIcon(url), "Close");
          bottomPanel.add(cClose2);
          getContentPane().add(bottomPanel, BorderLayout.SOUTH);
          cClose.addActionListener(new ActionListener() {
               public void actionPerformed(ActionEvent e) {
                    closeWindow();
          cClose2.addActionListener(new ActionListener() {
               public void actionPerformed(ActionEvent e) {
                    closeWindow();
          show();
          cViewUpdater.setText(cReport);
          SwingUtilities.invokeLater(cViewUpdater);
     protected void
     closeWindow()
          super.closeWindow();
          // If I add the following lines, the GC reclaims
// part of the memory but does not flush out the text
// component as a whole
          /*Document doc = cRptPane.getDocument();
          try
               doc.remove(0,doc.getLength());
          catch(Exception e) {;}
          doc=null; */
          cRptPane=null;
          cReport = null;
          cViewUpdater = null;
          dispose();
     private class ViewUpdater implements Runnable
          private String cText = null;
          public ViewUpdater() {;}
          public void
          setText(String text) {
               cText = text;
          public void
          run() {
               cRptPane.setText(cText);
               cRptPane.setCaretPosition(0);
               cText = null;
     // Local main - for testing
     public static void main(String args[])
          //new ReportViewer(str,comp);
Sudarshan
www.spectrumscm.com

Similar Messages

  • Loading String in JTextArea/JTextPane

    I'm trying to create an app that will display long Strings (veeerry looong and I know this is very easy) on the screen. When I display the String on screen, it should change the colors of certain text on the fly (much like many IDEs now). This is not necessarily required of the app but it would be good to have. My problem now lies in the fact that I originally used JTextArea, which worked very fine, loading the files very fast, too. Now, in order for me to be able to change the colors of the text, I have to switch to a JTextPane (not much change in code). I haven't even gotten to the point of making it change the text's colors, I've just changed my code to use JTextPane instead of JTextArea (shown below) but the speed of loading the file was so much affected. It's like the JTextPane is several times slower than JTextArea.
       //JTextArea txtDisplay = new JTextArea();
       JTextPane txtDisplay = new JTextPane();
       timer.start();
       txtDisplay.setText(aVeryLongString);
       timer.end();
       System.out.println(timer.status());
       ...After running this, using JTextArea, the timer.status() returns 3 seconds. Using the JTextPane() returns something like 10-15 seconds.
    Appreciate help fom anyone.

    Try something like this :
    JTextPane txtDisplay = new JTextPane();
    BufferedReader reader = new BufferedReader(new FileReader(big.txt));
    String line = null;
    while((line = reader.readLine()) != null) {
    txtDisplay.insertString(txtDisplay.getDocument().getLength(),line,null);
    Bye,
    Evert

  • Drag and Drop in a JTextArea (JTextPane)

    Hello everybody!
    I�ve a litte problem. I�m writing an online HTML-Editor as an Applet.
    Everything works fine, only drag&drop isn�t implemented yet.
    I�m using a JTextArea and a HTMLEditorKit in a SplitPane.
    Now i want to add drag&drop to each Pane. I need it urgent in the HTMLEdtiorKit , because it should be possible to drag and drop pics and text in the same pane.
    How can I add these feature ?!
    Maybe someone could write me a little example for a jTextArea oder a HTMLEditorKit ?!
    I�m actually using JDK.1.3.1, is there a big difference between 1.3.1 and 1.4 ?!
    Thanks,
    Ren�

    for those interested (if there is), i've given up on leadselectionpath, and i draw my outline manually, by overloading paintComponent and using the getPathBounds method.
    still, i don't know what leadselectionpath means... well, i guess i don't need to know, but if anyone want to share his knowledge...
    nicolas

  • Out of Memory error in  JTextPane

    Hi all,
    A application contains four JTextPanes.The features supported are foreground,background colouring,editing etc...
    When i try to load a file
    containing 10,000 lines i get "out of memory error".
    What is the maximum number of characters or lines that can be
    represented in a JTextPane.
    I find a lot of objects related to JTextPane getting created.
    Is there any work around to avoid this?.
    Has any one faced this problem already?.
    The forum already contains the question but no replies to it.
    Thanks.

    Has any one faced this problem already?.assuming you're having the same problem (sure sounds similar)...
    see my thread here:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=340872
    there's a bug in jtextarea, jtextpane and jeditorpane. a link to the initial bug report (jtextarea) is in there. i duplicated the bug in all three components by creating a blank jframe with the component in question on it. memory use skyrocketed with all three
    i already cast two votes for for the bug to be fixed. i don't know how sun can expect people to adopt java when there are debilitating problems such as these...
    anyway, try using an awt text area instead...that is, if you don't need to make use of the extra features of jtextpane. using the awt text area solved my problems.

  • Dynamic Text in a JTextPane

    Dear All,
    I would like to ask you if it is somehow feasible to create dynamic text into a JTextArea/JTextPane and/or JEditorPane. To be more specific, by the term dynamic text,
    I mean to have the opportunity to specify that some of the words contained in the JTextArea have an action (like a hyperlink let's say).
    I searched the forum but I did not find any similar topics neither answers concerning this issue. The only thing I found similar to this was that by using a JEditorPane one
    can employ the HTML language to creat some hyperlinks, but even in this case how will I be able to find out which word contained in the JEditorPane triggered which
    HyperLinkEvent? Is there a solution or a much easier way to accomplish this task? I would really appreciate it if some exemplary code could also be provided.
    I totally respect you gurus and count on you!
    Thank you in advance for your attention!
    Best Regards,
    JIM

    but even in this case how will I be able to find out which word contained in the JEditorPane triggered which HyperLinkEvent?
    Read the JEditorPane API. It has an example of writing a HyperlinkListener.

  • How to implement Line number in JTextArea

    Hi
    I have seen some JTextArea with Line numbers How to do it
    Thankx

    I'm playing around with trying to make a Line Number component that will work with JTextArea, JTextPane, JTable etc. I'm not there yet, but this version works pretty good with JTextArea. At least it will give you some ideas.
    Good luck.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.text.*;
    public class LineNumber extends JComponent
         private final static Color DEFAULT_BACKGROUND = new Color(230, 163, 4);
         private final static Color DEFAULT_FOREGROUND = Color.black;
         private final static Font DEFAULT_FONT = new Font("monospaced", Font.PLAIN, 12);
         // LineNumber height (abends when I use MAX_VALUE)
         private final static int HEIGHT = Integer.MAX_VALUE - 1000000;
         // Set right/left margin
         private final static int MARGIN = 5;
         // Line height of this LineNumber component
         private int lineHeight;
         // Line height of this LineNumber component
         private int fontLineHeight;
         private int currentRowWidth;
         // Metrics of this LineNumber component
         private FontMetrics fontMetrics;
         *     Convenience constructor for Text Components
         public LineNumber(JComponent component)
              if (component == null)
                   setBackground( DEFAULT_BACKGROUND );
                   setForeground( DEFAULT_FOREGROUND );
                   setFont( DEFAULT_FONT );
              else
                   setBackground( DEFAULT_BACKGROUND );
                   setForeground( component.getForeground() );
                   setFont( component.getFont() );
              setPreferredSize( 9999 );
         public void setPreferredSize(int row)
              int width = fontMetrics.stringWidth( String.valueOf(row) );
              if (currentRowWidth < width)
                   currentRowWidth = width;
                   setPreferredSize( new Dimension(2 * MARGIN + width, HEIGHT) );
         public void setFont(Font font)
              super.setFont(font);
              fontMetrics = getFontMetrics( getFont() );
              fontLineHeight = fontMetrics.getHeight();
         * The line height defaults to the line height of the font for this
         * component. The line height can be overridden by setting it to a
         * positive non-zero value.
         public int getLineHeight()
              if (lineHeight == 0)
                   return fontLineHeight;
              else
                   return lineHeight;
         public void setLineHeight(int lineHeight)
              if (lineHeight > 0)
                   this.lineHeight = lineHeight;
         public int getStartOffset()
              return 4;
         public void paintComponent(Graphics g)
              int lineHeight = getLineHeight();
              int startOffset = getStartOffset();
              Rectangle drawHere = g.getClipBounds();
    //          System.out.println( drawHere );
    // Paint the background
    g.setColor( getBackground() );
    g.fillRect(drawHere.x, drawHere.y, drawHere.width, drawHere.height);
              // Determine the number of lines to draw in the foreground.
    g.setColor( getForeground() );
              int startLineNumber = (drawHere.y / lineHeight) + 1;
              int endLineNumber = startLineNumber + (drawHere.height / lineHeight);
              int start = (drawHere.y / lineHeight) * lineHeight + lineHeight - startOffset;
    //          System.out.println( startLineNumber + " : " + endLineNumber + " : " + start );
              for (int i = startLineNumber; i <= endLineNumber; i++)
                   String lineNumber = String.valueOf(i);
                   int width = fontMetrics.stringWidth( lineNumber );
                   g.drawString(lineNumber, MARGIN + currentRowWidth - width, start);
                   start += lineHeight;
              setPreferredSize( endLineNumber );
         public static void main(String[] args)
              JFrame frame = new JFrame("LineNumberDemo");
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              JPanel panel = new JPanel();
              frame.setContentPane( panel );
              panel.setBorder(BorderFactory.createEmptyBorder(20,20,20,20));
              panel.setLayout(new BorderLayout());
              JTextArea textPane = new JTextArea();
              JScrollPane scrollPane = new JScrollPane(textPane);
              panel.add(scrollPane);
              scrollPane.setPreferredSize(new Dimension(300, 250));
              LineNumber lineNumber = new LineNumber( textPane );
              lineNumber.setPreferredSize(99999);
              scrollPane.setRowHeaderView( lineNumber );
              frame.pack();
              frame.setVisible(true);

  • Centering Text in JTextArea

    How can I center texts in JTextArea?
    "jta.setAlignemtX(CENTER)" +
    "jta.setAlignemtY(CENTER)" dont work.
    I need a little assistense.
    Dirk

    I apologize for the above wrong answer!
    Why dont u use a JTextPane instead of JTextArea
    JTextPane text=new JTextPane();
    SimpleAttributeSet set=new SimpleAttributeSet();
    StyledDocument doc=text.getStyledDocument();
    StyleConstants.setAlignment(set,StyleConstants.ALIGN_CENTER);
    text.setParagraphAttributes(set,true);

  • How to change the font size of the string by using java?

    I wish to change the font size of the text, read from a text file by using java. Please send me the sample codes. By using ActiveX component for word we can do it. Please give me any other solution to suit the platform independ. Thanks in advance.
    thanks,
    Karthik.

    Text is displayed in some kind of text component - JTextField, JTextArea, JTextPane....To change the font of the text you change the font associated with the text component:
    textComponent.setFont( .... );

  • How to get the visible text in JTextField?

    I want to compare the space occupied by English and Japanese characters in the visible area of JTextFiled. I tried the same by taking the length of the characters occupied by the same text in both the language . But this did not work . I even tried the method getVisibleRect().
    Can please some one suggest a method or procedure by whcih i can get the length of the visible text in the JTextField
    Thanks
    Inder

    Point point = new Point(brm.getExtent(),0) ,it wont workWell, theoretically, the "Y" value shouldn't matter, but I guess when you display a line the text, the first couple of "Y" pixels are the spacing between lines and will presumably return the position of the character on the previous line (when using JTextArea, JTextPane). But since JTextField doesn't have a previous line I guess its returning 0. Change the "Y" value to 2 (1 doesn't work either):
    import java.awt.*;
    import javax.swing.*;
    public class Test
         public static void main(String[] args)
              JFrame frame = new JFrame();
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              JTextField textField = new JTextField("Some text");
              frame.getContentPane().add(textField);
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible(true);
              for (int i = 0; i < textField.getSize().width; i += 5)
                   Point p = new Point(i, 2);
                   System.out.print(p + " : ");
                   System.out.println( textField.viewToModel(p) );
    }

  • Don't know what to use

    I need to creat a list where the user can select some numbers, but I don't know what to use.
    Should I use JTextAre, JTextPane, JEditorPane...??
    I just need the user to be able to add some name, and them select it from the list, if he wants to remove... which one should I use?
    THX.
    ENNIO

    Sounds most like a JList, but look here
    http://java.sun.com/docs/books/tutorial/uiswing/components/components.html

  • JEditorPane setText 2MB HTML --- Terrible Performance !!! (65 seconds)

    I'm trying to load an HTML file that is large approximately 2MB (1927KB for the sake of precision) into a JEditorPane, and it takes about 65 seconds, it seems to be a bug of the JTextPane/JEditorPane, i have read also several articles on the web like [this one|http://java-sl.com/JEditorPanePerformance.html] , but i couldn't find a solution ...
    Here's the code that i use :
    final String htmlContent = //Load a 2MB String
    previewPane.setContentType("text/html; charset=UTF-8");
    previewPane.setText(htmlContent);
    The setText method takes about 65seconds to get completely executed as you can see in my application log :
    Set the html content(1927KB) of the Preview pane, loading time=68230ms
    Set the html content(1927KB) of the Preview pane, loading time=62693ms
    Set the html content(1927KB) of the Preview pane, loading time=66583ms
    Is there a way to solve this problem ?
    About 65 seconds to load 2MB of Text is a terrible performance on an Intel Core 2 Duo 2.93GHz with 8GB of DDR 3 RAM ...

    Remember that this data not only needs to be loaded, it also needs to be interpreted and rendered. I have a sneaky suspicion that the slowdown is actually in the rendering part. It is not a huge amount of bytes - it is a huge amount of HTML content that needs to be processed. Modern browsers can cope with that no problem, but JEditorPane is not a browser.
    It could be a performance issue, but that won't help you anything. Even if you would create a bug report it probably won't ever get a high enough priority that it will be considered for fixing; Swing isn't exactly actively developed anymore. On top of that I always saw the HTML capabilities of JEditorPane as a novelty really; nice that an attempt has been made to make it somewhat easier to load formatted text into it, but don't start treating or making expectations of it like you would of a web browser.
    There is a test you can do. Assuming you are running under Windows, try turning off Direct3D and see if that influences the performance. In other discussions I have seen that the rendering of text is actually a performance hog when hardware rendering is enabled, for whatever reason. You do this by starting Java with the following command line switch:
    -Dsun.java2d.d3d=false
    Edited by: gimbal2 on Feb 1, 2012 3:57 AM

  • JTextField - Maximum size

    Hi,
    I've got a JTextField component which contains the content of a file. This file can be very large (>10Mo).
    I fall in memory exception with a file size of 10 Mo but my program runs correctly with a file size < 5 Mo.
    Is there a solution for the treatment of very large files.
    Thanks for your help.

    A JTextField is used to display a single line of text.
    JTextArea/JTextPane are used to display multiple lines of text.

  • Determine line count with wordwrap without Textcomponent visible

    Hi,
    I read a lot of post here that contains code that return number of line occupied by a wrapped text in JTextArea/JTextPane.
    However, the code only work if the text component is visible and already on screen.
    What I want is calculate the number of line count of wrapped text in those component even before the component is visible.
    Currenly, the line count always return 0 because component yet to display on screen.
    Can someone tell me how to do this ? thanx.

    I've been struggling with this for JTextArea. This seems to work. tp is the JTextArea and I get width from the preferred size.
            public int getLines(float width) {
                View view = tp.getUI().getRootView(tp).getView(0);
                view.setSize(width, (float)Short.MAX_VALUE);
                int preferredHeight = (int)view.getPreferredSpan(View.Y_AXIS);
                int lineHeight = tp.getFontMetrics( tp.getFont() ).getHeight();
                return preferredHeight / lineHeight;
            }

  • Bit of a pickle (to use JTextArea or JTextPane)

    Basically what i'm trying to do is print out array of numbers into a JTextArea or JTexPane. Initially i started printing into a JTextArea. This work fine, it printed without problems. However, i needed to center this prints and i couldn't do that in an JTextArea. So i started to use JTextPane, the center worked, but i could only print one number, it kept overriding the previous one. How would i print into a JTextPane?
    Any help is appreciated :)
    JTextPane text = new JTextPane();
    SimpleAttributeSet set = new SimpleAttributeSet();
    StyledDocument doc = text.getStyledDocument();
    StyleConstants.setAlignment(set,StyleConstants.ALIGN_CENTER);
    text.setParagraphAttributes(set,true);
    JTextArea printArea = new JTextArea(10, 10);
    for (int i = 0; i < arr.length; i++) {
          printArea.append(arr[i] + ", "); //Works fine, but no center
          text.setText(arr[i] + " "); //Doesn't print properly...
    printArea.append("\n");
    text.setText("\n");

    For the JTextPane, you were calling setText(), which overrides the current text and replaces it entirely with new text. You should instead append directly to the end of its document (Check the source for JTextArea#append(); that's what it's doing as well). You also need to be adding a newline character between printed numbers:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class JTextPaneCentering extends JFrame {
         private static final int[] arr = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
         public JTextPaneCentering() {
              JPanel cp = new JPanel(new BorderLayout());
              cp.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
              JTextPane text = new JTextPane();
              SimpleAttributeSet set = new SimpleAttributeSet();
              StyleConstants.setAlignment(set, StyleConstants.ALIGN_CENTER);
              text.setParagraphAttributes(set,true);
              for (int i = 0; i < arr.length; i++) {
                   append(text, arr[i] + "\n");
              cp.add(new JScrollPane(text));
              setContentPane(cp);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              setTitle("JTextPane Text Centering");
              pack();
        public void append(JTextPane textPane, String str) {
              Document doc = textPane.getDocument();
              if (doc != null) {
                   try {
                        doc.insertString(doc.getLength(), str, null);
                   } catch (BadLocationException e) {
                        // Never happens.
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        new JTextPaneCentering().setVisible(true);
    }

  • How to use ZoneView in a JTextArea or JTextPane?

    i would like to view an large file (25MB with about 600.000 rows) in a JTextArea or JTextPane. As I know the JTextArea creates for each line of the document at least one object, due to this fact it consumes about 330MB (for the file mentioned above) of memory and is useless. Now i found the ZoneView/AsyncBoxView for displaying and consuming memory only for the zone which has to be displayed. But how can i use the ZoneView in a JTextArea? Any examples?
    Thanx,
    Oliver

    Hi Folks:
    I would like some examples of using ZoneView as well. I read 1Mb files and convert them to strings and them attempt to render that entire string onto a JTextPane. As I understand it, ZoneView will improve the time to render the string on the JTextPane.
    My code is something like:
    final String fileToString = readInput();
    textPane.setText(fileToString);
    //readInput() is a file reader method
    The files (or strings) have upwards of 1000 lines; this takes a coupla minutes to render on a text pane.
    Hopefully they will post an example of ZoneView soon. Or maybe put it on the Question of the Week?!
    -Ben

Maybe you are looking for

  • Alert message in tool area with hyperlink to forum/km

    Hi all, I'm looking for informations about the tool area customization located in the framework. I've read that we could publish a message in the header about information or important notifications, but I did not found any hint  over ther internet no

  • HT1451 music in icloud won't show in iTunes

    the extensive music collection in iCloud will not show iTunes on a properly authorized MacBook Air, I have iTunes Match on yet nothing shows.  All music shows in pods, pads and and iMac.  Any ideas ?

  • FRM-41072 - Cannot create Group GRP_NAME

    In the layout I'm trying to populate Grp_name column values from GRP_TAB table, in the 'GRP_NAME' item list. This is the code I had written. But when I run the Form, I'm getting 'FRM-41072 - Cannot create Group GRP_NAME'error. What could be the error

  • How do you export a timeline fade as a gif?

    Dear Photoshop, I'm working in CS6 and have created a multi-image file in the video timeline that includes the fade function. This allows the images to transistion smoothly from one image to the next. When I play the video in Photoshop the transistio

  • ICloud mail not showing up as "box" on iPhone mail list

    I have a me.com address. I have added it as an account on my iPhone. I can log in successfully on my desktop to iCloud to retrieve my mail. I CANNOT however, see a mailbox labeled iCloud in my iOS mail on my iPhone. Can anyone help me figure this out