What purpose does the getParameterInfo() method serve?

John Zukowski

Like getAppletInfo(), this method is rarely used. When implemented, you should return the names, types, and description of the parameters your applet accepts. They are all strings, so there is no type checking.

String paramInfo[][] = {
  {"one",   "type1", "description 1"},
  {"two",   "type2", "description 2"},
  {"three", "type3", "description 3"}
};
public String[][] getParameterInfo() {
  return paramInfo;
}
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact