More specifically, what's the most elegant way to cast the Graphics object in a paint() call up to a Graphics2D object?
public void paint(Graphics g) { // How do ...