added a stand alone Swing demo