setvisible and isvisible