Changed some things
Changed some things

You do not need to put frame.setTitle("Game Development -by ScratchForFun");
instead you can just create a JFrame with the title argument and it will add that.
ScratchForFun/Game-Development