using status label instead of joption pane