-Fixed infinite loop in the results window paintComponent method