Made it JPanel for double buffering (was JFrame).