[RFC][plugin]: Class loading problem.

Denis Lila dlila at redhat.com
Thu Apr 28 06:30:20 PDT 2011


Hi.

When run as an applet, http://www.sweethome3d.com/index.jsp
is broken. To see this, go to "lights", and try to drag one
of them to the right. Nothing will happen, and a lot of
exceptions will be thrown.

The attached patch fixes that. I believe a good enough
explanation of what's happening is in the comments (if I'm
wrong, don't hesitate to ask).

ChangeLog:
2011-04-28  Denis Lila  <dlila at redhat.com>

	* netx/net/sourceforge/jnlp/NetxPanel.java:
	Remove unused import.
	Add SuppressWarnings("serial")
	(futureTG): New member.
	(getFutureTG): New method.
	(run): Remove. No longer needed.
	(NetxPanel): Initialize futureTG.
	(createAppletThread): Use futureTG instead of creating a thread group
	on the spot.
	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
	(createPanel): Initialize and frame the panel in a separate thread.

Any comments are much appreciated.

Regards,
Denis.



More information about the distro-pkg-dev mailing list