swing program for testings