did the first image using paintcomponent:
Finsihed FPS properly using repaint()