Einzelnen Beitrag anzeigen

Benutzerbild von fkerber
fkerber
(CodeLib-Manager)

Registriert seit: 9. Jul 2003
Ort: Ensdorf
6.723 Beiträge
 
Delphi XE Professional
 
#5

Re: [Java] Ints/colors per param tag an applet?

  Alt 6. Sep 2004, 16:42
Hi!

Hast du dir angeschaut, wie es in dem beschriebenen Applet gemacht wird?

Code:
 /**
   * Get the info about the applet parameter.
   *
   * @return   info about all parameters
   */
  public String[][] getParameterInfo(){
    return (new String[][]{{"splash",   "String",     "name of splash image"},
                           {"image",    "String",     "name of image"},
                           {"horizont", "y",          "position of horizont"},
                           {"auto",     "x",          "auto movement"},
                           {"start",    "x",          "start position"},
                           {"background","FFFFFF",     "background color"},
                           {"foreground","000000",     "foreground color"},
                           {"font",     "s",          "size of font"},
                           {"color",    "00FF00",     "color of spots"},
                           {"spot#",    "x,y;...;x,y", "coordinates of spot#"},
                           {"link#",    "String",     "link for spot#"},
                           {"target#",  "String",     "target for spot#"},
                           {"comment#", "String",     "comment for spot#"},
                           {"audio#",   "String",     "audio for spot#"},
                           {"properties","String",     "properties file"}
                          });
  }
Ciao Frederic
Frederic Kerber
  Mit Zitat antworten Zitat