What is obj? Is it your custom class? Does it have a set Visible*(boolean isVisible) method?
Does set Visible(with the white space) even compile for you? Or are you carelessly throwing some code together like you did
here which incidentaly you did not bother to reply to.