This is pong in java with a GUI and graphics.
It is very simple and based on this tutorial by Awais Mirza.
Tutorial is very simple to understand.
Note: Repl is EXTREMELY slow at processing graphics unfortunately. It would be better if you just copy the code and run it on your own computer.
Have fun :)