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

(api) Retrieving all Applet Parameters

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      A DESCRIPTION OF THE REQUEST :
      It is sometimes necessary to be able to retrieve all applet parameters.

      JUSTIFICATION :
      This bug was previously closed as bug 4102019.

      However.

      Large applets have many parameters, quite a few of which are defined deep inside the program.
      Forcing the programmer to explicitly retrieve all of the possible parameters is a major inconvenience, which we do not force on java programmers elsewhere in the java eco-system.
      Also, it precludes the creation of generic wrapper code for many of my programs.



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Specifically, in my case, most of my programs loads their many parameters from a properties file using the Properties class.

      I am trying to wrap one of these programs in an applet.
      Part of this required that I load the parameters from values specified in the PARAM tags.
      Only to discover that there was no way to extract all of the parameters passed into my applet.

      Yes, this behaviour is occasionally error-prone, but I cannot see that allowing me this small freedom to shoot myself in the foot is any way detrimental to the applet API.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rmandalasunw Ranjith Mandala (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: