Converted JFrame to JApplet, not getting null pointers for objects of classes

Printable View