changed paintComponent to use BufferedImage