When will we get a NullPointerException in theconcept of Swing ?Is it correct n whether it works , if we write anactionPerformed() for a Button and a TextField in an inner class.