The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

mirror or mirror, who's the cutest nerd in the world?

Posted by Chin Loong on October 29, 2001 at 4:46 AM

oh dang.. i knew i should've used readLine() :p just too lazy to change my ways heheh

i'm all the way at asia. not US :p. ja(va)rule called me a "chinese ****". well at least he got the chinese part rite ;)

i'm from malaysia :)

oh i see... you mean u read the commands from the file, which means u only know the commands at runtime, rite?
okay, if i understand correctly (which i really i do by now :p), you can use the Reflection package.

check this out :
http://forum.java.sun.com/thread.jsp?forum=4&thread=149312
and
http://www.esus.com/javaindex/j2se/jdk1.2/javalang/reflection/reflection.html

does that help?



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us