v7 text to pdf that works with gui (swing)