Posted By:
Lasse_Koskela
Posted On:
Tuesday, November 19, 2002 03:26 AM
I guess you need to state the requirement that the given class must have a constructor accepting some specific parameter (in this case, a single String object), or a kind of setValue(String valueToSet) method.
Then you could locate the constructor/method using the java.lang.reflect API and invoke the constructor/method with the second String object.