As an aside from a quick glance at the code, you may want to consider using a StringBuilder or StringBuffer for more optimal performance. Relatively speaking String concatenation can be slow, and for...