Launchpad has imported 4 comments from the remote bug at http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=76.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2007-10-29T18:41:33+00:00 Mark J. Wielaard wrote: 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%" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:66) at java.lang.Integer.parseInt(Integer.java:485) PIPE: plugin read: status HTML parsing: incorrect value for width/height attribute GCJ PLUGIN: thread 0x7615e0: plugin_in_pipe_callback return at java.lang.Integer.valueOf(Integer.java:576) at sun.applet.AppletViewerPanel.getWidth(AppletViewerPanel.java:134) at sun.applet.AppletPanel.init(AppletPanel.java:216) at sun.applet.PluginAppletViewer.<init>(PluginAppletViewer.java:109) at sun.applet.PluginAppletViewerFactory.createAppletViewer(PluginAppletViewer.java:56) at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:808) at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:744) at sun.applet.PluginMain.start(PluginMain.java:193) at sun.applet.PluginMain.main(PluginMain.java:73) PIPE: appletviewer wrote: status starting applet...GCJ PLUGIN: thread 0x7615e0: plugin_in_pipe_callback GCJ PLUGIN: thread 0x7615e0: plugin_in_pipe_callback: setting status starting applet... PIPE: plugin read: status starting applet... GCJ PLUGIN: thread 0x7615e0: plugin_in_pipe_callback return Reply at: https://bugs.launchpad.net/ubuntu/+source/icedtea- java7/+bug/157721/comments/6 ------------------------------------------------------------------------ On 2007-12-04T00:13:53+00:00 Jarkko Lietolahti wrote: If one looks at the code from sun.applet.AppletViewerPanel.getWidth(AppletViewerPanel.java:134) it looks like this: Which suggest that the browser(? or something else other than the appletviewer) has to modify the <param name="width" value="100%" /> and replace 100% with the current value of "100%". E.g. <param name="width" value="100%" /> becomes (on the browser) <param name="width" value="923" /> which is what the appletviewer receives. So this seems to be some kind of integration problem. /** * Get the width. */ public int getWidth() { String w = getParameter("width"); if (w != null) { return Integer.valueOf(w).intValue(); } return 0; } Reply at: https://bugs.launchpad.net/ubuntu/+source/icedtea-java7/+bug/157721/comments/13 ------------------------------------------------------------------------ On 2007-12-04T00:23:44+00:00 Jarkko Lietolahti wrote: In gcjwebplugin.cc there's a code block that could be suitable for doing the transformation from 100% --> real value. It seems to have all the required information present. gcjwebplugin.cc // The last plugin window width sent to us by the browser. guint32 window_width; // The last plugin window height sent to us by the browser. guint32 window_height; // Build up the applet tag string that we'll send to the applet // viewer. static gchar* plugin_create_applet_tag (int16 argc, char* argn[], char* argv[]) { ... else if (!g_ascii_strcasecmp (argn[i], "width")) { gchar* width = g_strdup_printf ("WIDTH=\"%s\" ", argv[i]); applet_tag = g_strconcat (applet_tag, width, NULL); g_free (width); width = NULL; } Just check if argv[i] ends in % and do little calculation and voila. And same thing for the height. Reply at: https://bugs.launchpad.net/ubuntu/+source/icedtea-java7/+bug/157721/comments/14 ------------------------------------------------------------------------ On 2007-12-12T15:59:39+00:00 Langel wrote: Fixed. Reply at: https://bugs.launchpad.net/ubuntu/+source/icedtea- java7/+bug/157721/comments/15 -- You received this bug notification because you are a member of Java Packaging, which is subscribed to icedtea-java7 in Ubuntu. https://bugs.launchpad.net/bugs/157721 Title: Error starting homebanking Applet To manage notifications about this bug go to: https://bugs.launchpad.net/icedtea/+bug/157721/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-java Post to : ubuntu-java@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-java More help : https://help.launchpad.net/ListHelp