removed setVisible, added serialVersionUID