Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8107661

FX.getArgument() on Google Chrome

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • fx1.3
    • deploy
    • Windows XP, Google Chrome 3

      I have the following files (modified for showing the bug):

      Main.fx
      =======
      import javafx.lang.FX;
      ...
      if (FX.getArgument("lang") == "???"){
      (do something)
      }
      =======


      main.js
      =======
      var my_lang = '???';
      var html = '???';
      ...
      (function () {
      var o = {};
      o.archive = '???.jar';
      o.draggable = true;
      o.width = '728px';
      o.height = '90px';
      o.code = '???.Main';
      o.name = '???';
      o.lang = '' + my_lang;
      html += '' + javafxString(o);
      })();
      ...
      (update/display new html)
      ...
      =======

      On a Windows XP machine, the above works well for IE 8, Firefox 3, but not the case for Google Chrome 3.
      I think FX.getArgument("lang") in JavaFX run on Google Chrome could not get the correct value.

      Meanwhile, Opera 10 and Safari 4 on Windows XP could not even run JavaFX!

            ngthomas Thomas Ng (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: