Java Application - weird behavior

Printable View