Menu

Missing Menu of Java Applet in Browser Menu

2005-02-11
2013-04-16
  • Cedric Huesler

    Cedric Huesler - 2005-02-11

    Got my applet starting-up in Firefox 1.0 thanks to the Java Embedding Plugin (wasn't working without as it uses Java 1.4 and LiveConnect to the Java Plug-in).

    Now I got one last thing not working: the applet adds additional menu items in the browser menu (into the top menu). That is not working with Firefox 1.0. I don't know if its an issue of Firefox or the Java Embedding Plugin. The menu items are added when using Safari (but is unusable as LiveConnect is not working there..).

    Any idea?

    Using OSX 10.3.8, Java VM 1.4.2_05, Embedding Plugin 0.9.0.

    Keep the byte.

    Cdric

     
    • Steven Michaud

      Steven Michaud - 2005-02-11

      Did you try your applet in Camino?  (Camino is a Cocoa browser, while
      Mozilla and Firefox use the Carbon API to display themselves.  The
      Java Embedding Plugin works quite differently on Cocoa and Carbon
      browsers.)

      > The menu items are added when using Safari (but is unusable as
      > LiveConnect is not working there..).

      Actually, LiveConnect _is_ supposed to work in recent versions of
      Safari (those available since Java 1.4.2 Update 1 came out).

       
    • Cedric Huesler

      Cedric Huesler - 2005-02-11

      First tests are working with Camino 0.8.2 - the menu items are visible - many thx for the hint.

      >> ... LiveConnect _is_ supposed to work in recent versions of Safari..

      Yes - but not Liveconnect between the Java Plug-in and the Applet (at least I'm not able to access applet methods/properties in JavaScript - the same script is working with Firefox/Camino using your Java Embedding Plugin).

       
    • Steven Michaud

      Steven Michaud - 2005-02-11

      > First tests are working with Camino 0.8.2 - the menu items are
      > visible - many thx for the hint.

      Glad to hear it.  But this probably means that your applet not working
      on Firefox (or Mozilla, presumably) is due to yet another bug in
      Apple's Cocoa/Carbon interface.  These problems tend to be hard to
      fix, and for the next month or two I'm not going to be able to spend a
      whole lot of time on the Java Embedding Plugin.

      By the way, could you post the source for a simple test case applet
      that demonstrates the problem (the problem with Firefox and Mozilla)?
      That would make it easier for me, when I get around to trying to fix
      this problem.

      > Yes - but not Liveconnect between the Java Plug-in and the Applet
      > (at least I'm not able to access applet methods/properties in
      > JavaScript - the same script is working with Firefox/Camino using
      > your Java Embedding Plugin).

      Interesting.  But here's a very simple test of JavaScript-to-Java
      LiveConnect that works in Safari (at least when I just tried it):

      http://www.simonstl.com/dynhtml/update/code/chap6/lc2.html

      I'm using Mac OS X 10.3.8 and Java 1.4.2 Update 2 plus Apple's recent
      "WebStart and Java Plugin Update 1.4.2" (currently only available as
      an "FC Seed" from Apple's Developer Connection).  If your applet's a
      signed applet, you might also need this latest update.  (By the way,
      this update breaks JEP 0.8.9 and earlier.  But 0.9.0 was released
      specifically to deal with it.)

       
    • Cedric Huesler

      Cedric Huesler - 2005-02-17

      FYI: JavaScript-to-Java with Safari is working now (after the update to "WebStart and Java Plugin Update 1.4.2" - my applet is signed (that was the reason why is wasn't working).

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.