Forum: Java Apr 4th, 2007 |
| Replies: 4 Views: 4,121 I moved your code around. I think it now does what you wanted.
It actually needs some changes to be good OOP, but I wanted it to still be reconizable to you.
import java.util.*;
public class... |
Forum: Java Apr 4th, 2007 |
| Replies: 7 Views: 1,500 Personally, I like Eclipse. Certainly better than NetBeans. These guys are right though, you don't really need 2 learning curves at once.
As a first tool, I'd recommend TextPad. It's mostly... |
Forum: Java Jan 4th, 2006 |
| Replies: 3 Views: 37,745 try
{
Thread.sleep(1000); // do nothing for 1000 miliseconds (1 second)
}
catch(InterruptedException e)
{
e.printStackTrace();
} |