Welcome to JavaRanch.
First, a bit of business. On your way in you may have missed that we have a
policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do
right here.
Also,
UseCodeTags when posting code of any length. It makes it much easier to read.
You should also
UseAMeaningfulSubjectLine.
There are a number of problems with the code, some mere typos, some more serious. I've modified it a bit as follows; try to understand what it does. You can run like "java Propagate reverse-this".
[ March 22, 2008: Message edited by: Ulf Dittmer ]