Help with delay

hi… I just want to ask… here's my scenario… I have a skybox implemented around my scene and a rotating box in the middle… at first, I have put my camera in front of the rotating box, a close view… and then when the user triggers one of the buttons in the GUI I've made… the camera will move far from the box in the middle and the skybox's texture will change…like you have gotten into a whole new world… although its supposed to change texture after the camera has moved far away from the box… but what happen in my implementation is that it changes texture while the camera is still moving or right before the camera moves… my question is how do I put a delay so that I can achieve the effect that I want…



btw… I've tried the Thread.sleep() of java… seems it doesn't give me what I really wanted… it actually ruined my scene like it froze before it did something…