If you try to executeScript from a different thread you get:
netscape.javascript.JSException: SyntaxError: Parse error
at com.sun.webpane.platform.WebPage.twkExecuteScript(Native Method)
I think that the message of the exception could be improved to be more clear
netscape.javascript.JSException: SyntaxError: Parse error
at com.sun.webpane.platform.WebPage.twkExecuteScript(Native Method)
I think that the message of the exception could be improved to be more clear