Exception in thread "main" java.lang.NullPointerException while implementing JFrame

Printable View