Swing calculate area not printing anything

Printable View