How do you add GUI to this java program?

Printable View