add swing-test program and add corresponding executable