The class of the variable browser is WebBrowser.
When I use the method browser.setContent(code) where code is a short String, it works, but when code is a long String, it doesn't work any more. Is there a size limit?
I have seen the same problem. If I submit a string around 2040 bytes, it fails to display. It looks like 1995 bytes is the breaking point. Has anyone else noticed this? Is there a fix?
Changed by author - 11/4/2008
Message was edited by: foxhunter42
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.