Added code sample of anonymous inner class using Swing