swing gui that works with text to pdf v7