A
Andrew Thompson
Ok,
OK...
my program can load a class
Excellent..
as Runnable r = classloader.....
and then i can call r.run(); ....
Why are you using a classloader? Is there a special
reason you do not import the class?
ok that is working but...
OK/but.. never a good combination.
I want to give the class a vector with data
and get a processed vector back...
You want to use one of it's methods?
but how can i call the methods out of the loaded class
...by using the instance that you have loaded,
(unless it's a static method, of course)..
and what i have to change in my loading the class
is Object r = classloader better, because i don't want everytime
only to load a runnable class
So import it, instantiate an object and call the method
with a vector.
I hope somebody can help me...
Note that help is best obtained on a groip further described here..
<http://www.physci.org/codes/javafaq.jsp#cljh>
HTH
--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane