Here is what I have: I present a JFrame with a text editing area and a couple of buttons to the user (as a side note - the data is coming from MQSeries queue).
Here is my problem / challenge.
If the data has CRLF (Carriage Return / Line Feed) with normal line lengths (i.e. 100 bytes) then the JFrame with the buttons and JTextArea pops up very quickly, even if the data size is greater than 1MB.
But if the data does not have CRLF or has line lengths greater than 100,000 bytes (I am not sure of the exact length) then Java / Swing takes at least 1 minute to display the JFrame with components. This on a PC with JDK 1.4.0_03, CPU of P4 2.4Mhz and 512MB RAM.
This is driving me crazy. I have tried JEditorPane() but it is even slower. I have tried JTextArea with setLineWrap(true), it helps but it still really slow.
Does anyone have any suggests? All I need is a basic editing component. Nothing fancy. But has to be able to handle super long lines or where the data has NO CRLF at all. i.e. 2MB of data with no CRLF
Thanks for your help.
later Roger...
P.S. If you want to see what I am talking about, then download my MQ Visual Edit. Edit a super long message (with the Simple Message Edit feature). MQ Visual Edit is located at http://www.capitalware.biz/beta.html
--- You are currently subscribed to jdjlist as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] http://www.sys-con.com/fusetalk
