Create SwingDemo.java

first swing application given in the book.