}
public void stateChanged(ChangeEvent event)
{
try {
Arguments args = new Arguments();
Function function = (Function)((Class)functionMap.get(
functionList.getText())).newInstance();
List argumentDesc = function.getArgumentDesc();
Iterator iter = argumentDesc.iterator();
while(iter.hasNext())
{
String help = (String)iter.next();
args.addArgument(help,"");
}
parameterPanel.configure(args);
parameterPanel.revalidate();
getContentPane().remove(parameterPanel);
this.pack();