Hi, does any one know if there is a delay function in Java you know like the one you get in Turbo Pascal

Delay (1000);

I don't want to write a loop which iterates for a long time to produce the delay because that speed depends on PC processor, and I want the speed to be consistent across different PCs

Also is there a beep feature in Java?

THANKS IN ADVANCE