swing generator added and some changes in html generator