demo for swing button added