Change paint to paintComponent per Oracle docs and add rendering hints
for antialiasing.