tmpString = tmpRow + "\n" + tmpString;
tmpString = tmpString + "\n" + tmpRow;
    public static String wordWrap(String s, int rowLength) {        java.util.Stack stack = new java.util.Stack();        String tmpString = new String();        String tmpToken = new String();        String tmpRow = new String();        StringTokenizer stringTokenizer = new StringTokenizer(s, " ");        while (stringTokenizer.hasMoreTokens()) {            stack.push(stringTokenizer.nextToken());        }        while (!stack.empty()) {            tmpToken = (String)stack.pop();            if (tmpRow.length() + tmpToken.length() + 1 <= rowLength) {                tmpRow = tmpToken + " " + tmpRow;            }            else {                tmpString = tmpRow + "\n" + tmpString;                tmpRow = tmpToken;            }				}				tmpString = tmpRow +"\n"+tmpString;        return tmpString;    }