English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1 answers

obj1.methodOne();
Thread.sleep(2000);//sleep this thread for 2 seconds
obj2.methodTwo();

Is that what you are talking about? Also note that I have left out the try/catch for an InterruptedException, but you can figure that out.

2006-10-30 19:50:35 · answer #1 · answered by vincentgl 5 · 0 0

fedest.com, questions and answers