How to make something like system.out.println in swing

Printable View