gcjwebplugin doesn't parse width attribute in applets properly

Mark Wielaard mark at klomp.org
Mon Oct 29 11:44:53 PDT 2007

Hi John,

On Fri, 2007-10-19 at 21:53 -0400, John Pham wrote:
> I'm getting this on the console when running an applet whose size is
> specified in percent values instead of absolute pixel size,
> specifically when running a "paintchat" applet such as this
> http://chat.paintchat.jp/~aotama/paintchat01/paintchat.html:
> GCJ PLUGIN: thread 0x7615e0: plugin_in_pipe_callback: setting status
> HTML parsing: incorrect value for width/height attribute
> HTML parsing: incorrect value for width/height attribute
> java.lang.NumberFormatException: For input string: "100%"

I got the same thing on some other applet. I don't have a patch to fix
it yet, but I did file it as bug:

Getting the proper width/height from the actual browser window might be
a little tricky. But as a first workaround just accepting the percentage
form and just using a specific real number (guess) would be good to at
least get these applets to show and run.



More information about the distro-pkg-dev mailing list