Problem going outside paintComponent

Printable View