Fixed Title code

This will fix a formatting issue in the Java app.