The Source for Java Technology Collaboration

Home » java.net Forums » Java Deployment & Distribution » Java Plug-in

Thread: Applet not compatible with new plugin

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 7 - Last Post: Nov 19, 2008 12:10 PM by: leathrum Threads: [ Previous | Next ]
leathrum

Posts: 7
Applet not compatible with new plugin
Posted: Nov 12, 2008 11:12 PM
 
  Click to reply to this thread Reply

I have an applet which works fine with the plugin version 1.6.0_10 in classic mode, but not in next-generation mode. The page is written in XHTML, using <object> tags following the W3C standard, and uses LiveConnect to communicate with JavaScript. The JavaScript fails at the first call to a method defined in the applet. Also, even though I have the Java console configured to appear whenever an applet runs, it does not appear for this page, so I have no evidence that the applet is actually initializing. I know the security model for LiveConnect has changed, but it is also supposed to be backwards compatible. Is there something I need to change in the <object> tag attributes or in the JavaScript to get this applet working in the next-generation plugin mode?

Here is the URL for the applet page:

http://cs.jsu.edu/~leathrum/mathtrans/mathtrans.xml

(View source for the page to see the JavaScript and the <object> tag.)

leathrum

Posts: 7
More Info Re: Applet not compatible with new plugin
Posted: Nov 17, 2008 12:03 PM   in response to: leathrum
 
  Click to reply to this thread Reply

I have a more compact example showing the same problem -- so, among other things, I can show that the problem is easily reproducible. The problem seems to stem from using the <object> tag for embedding an applet in an XHTML page -- using the <applet> tag in HTML is not a problem. Also, even with XHTML and the <object> tag, the applet works fine with plug-in version 1.6.0_07, but not with 1.6.0_10. I am getting this problem viewing the page with Firefox 3.0.4 under Vista with SP1 installed (I have not tried other browsers yet).

Here is the link to the new example:

http://cs.jsu.edu/~leathrum/mini-test/

Source for XHTML and Java are both included on the page.

cowwoc

Posts: 1,055
Re: More Info Re: Applet not compatible with new plugin
Posted: Nov 17, 2008 1:22 PM   in response to: leathrum
 
  Click to reply to this thread Reply

I don't work for Sun, but I recommend you file a bug report to get this formalized: http://bugs.sun.com/

leathrum

Posts: 7
Re: More Info Re: Applet not compatible with new plugin
Posted: Nov 18, 2008 9:08 AM   in response to: cowwoc
 
  Click to reply to this thread Reply

I filed this as a bug report -- haven't gotten a bug number yet. Will post again if/when I do.

leathrum

Posts: 7
Re: More Info Re: Applet not compatible with new plugin
Posted: Nov 18, 2008 7:52 PM   in response to: cowwoc
 
  Click to reply to this thread Reply

Just got the bug number: 6773257

Here is the tracking link:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6773257

As soon as there is any progress on the bug, I will post again here.

leathrum

Posts: 7
Re: More Info Re: Applet not compatible with new plugin
Posted: Nov 19, 2008 11:59 AM   in response to: cowwoc
 
  Click to reply to this thread Reply

Turns out the bug is a duplicate of one already submitted, number 6773257, but the fix won't be included until Update 12. (I saw that Update 11 is in beta test, I don't know when to expect Update 12.) Here is the link for the other bug report:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6773257

leathrum

Posts: 7
Re: More Info Re: Applet not compatible with new plugin
Posted: Nov 19, 2008 12:10 PM   in response to: leathrum
 
  Click to reply to this thread Reply

Sorry, I cut and pasted wrong -- this bug *is* 6773257, it duplicates 6771026. Here is the link to the duplicate bug:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6771026

leathrum

Posts: 7
Re: Applet not compatible with new plugin
Posted: Nov 19, 2008 12:00 PM   in response to: leathrum
 
  Click to reply to this thread Reply

bug fixed for plug-in 1.6.0 update 12




 XML java.net RSS