before switching to serializable jbutton