Added Observer example in Swing