Fixed a minor warning where I added an explicit call to
WindowConstants.EXIT_ON_CLOSE instead of just the sub-function