Getting "AWT-EventQueue-0" java.lang.NullPointerException error

Printable View