add TextField with your Port and IP adress, get actual mouse position,
close server with question window