Added Basic Swing code