Simple but fustrating issue with swing

Printable View