title: The scene disappears at using Thread.sleep java
body: <p>I have created a map and I will not move any thing on it just make lines thick or thin Th problem is that I want to see the action so I used Thread.sleep();
  But the whole scene then freezes the whole time and I can see nothing until time out so How can I fix that or what is the problem?</p>