Font test and fix paintComponent to paint