ReflectShell 0.6 ReadMe, (C) Paul Geisler 08.01.2005, 15.2.2005 http://hirnsohle.de/reflectshell.htm ReflectShell allows the developer of some Java thingy to create, view and manipulate his objects at runtime. No good documentation at the moment, in fact not even any but this... the main class could be found at: org.dronus.reflector.ReflectShell imports needed: --- import org.dronus.reflector.ReflectShell; import org.dronus.shell.Shell; --- QUICKSTART: instant use in your own project: (convenience static methods for "one-line-does it all") --- Shell.stdIOShell("MyApplication Console"); //create and connect the fine gui-shell instead of Java system IO (this line is optional) ReflectShell rs=ReflectShell.stdReflectShell(); //create and connect the reflect-shell --- optional but very usefull is to tell the reflect-shell and hence the user some of your objects, for example in main class of your own paint-program write: --- rs.add("painter", this); rs.add("canvas", this.getPaintCanvas()); then you could try at runtime things like this: --- ReflectCommand>farbe=new java.awt.Color 10 30 40 Try to create class java.awt.Color ReflectCommand>farbe java.awt.Color[r=10,g=30,b=40] ReflectCommand> canvas.floodFill 10 30 farbe ReflectCommand> painter.saveImg "c:\temp\niftyPicture.jpg" true --- and thats what ReflectShell is all about. Nothing more. But also nothing less. Some usefull things for newbie to enter to reflect shell: methods explain "" list ...and last but not least: exit What don't work: b=c=a.getClass -no multiple assigns 4+5 -no operators yet a.getClass.toString -only one function call per command int a=5 -no primitives yet, use a=new Integer 5 instead