large transfer object hangs system ... ?
hi all --
Does anyone have experience with gracefully handling large amounts of text pasted into a Swing text component? Java's transferable mechanism seems to choke before it even gets to the TransferHandler. I was thinking it might be possible to transfer it as a native Buffer (java.nio flavor) or a stream, and just ignore everything over 8k, but it looks impossible due to the preemptive choke.
best regards,
Brien
[445 byte] By [
8-bitsa] at [2007-11-26 14:52:28]

# 2
It's sad that Sun thinks this problem is not reproducible or a Windows bug. Somehow Eclipse is able to handle this situation much more gracefully.
Fortunately not many people will actually try to paste 10mb of text into a text box, but it's scary that the situation is completely out of the programmer's control.
# 3
Why is it sad that the problem couldn't be reproduced, and so was closed? That's a perfectly logical action to take when the reported problem can't be duplicated, and there is no further input on the error.
If you believe you have found a bug that is not already reported and open, you should submit a new bug report. Not reporting it is "scary" to me.