now it is a swing app