Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Pause class to pause applications
- Anderson, Franceschi
- */
- public class Pause
- {
- public static void wait( double seconds )
- {
- try
- {
- Thread.sleep( (int) ( seconds * 1000 ) );
- }
- catch ( InterruptedException e )
- {
- e.printStackTrace( );
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement