Dr. M. Halfpap
public void pause(int zeit) { long zeit2 = System.currentTimeMillis(); do {} while ( System.currentTimeMillis()-zeit2<zeit ); } Und nur bei THREADS : public void pause(int time) { try { Thread.sleep(time); } catch (InterruptedException e) {} }