No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
For part of my project, I need to write a piece of code that will perform a task (beeping) once per second for ten seconds. I found this code online and tried to modify it to fit my needs, but I couldn't seem to get it. This code doesn't beep, … | |
Re: lol, at first I thought you were serious. But, joking or not, you do bring up a few good points, like kids texting unnecessarily. (I'm 17, by the way.) Texting is very convenient in some situations, such as when you can't actually speak but still want to communicate. In a … | |
I'm trying to create a game with Java, and it includes a timer, which I did with an extension of Thread. The timer is put in a loop. Effectively: [CODE] public class Game do{ System.out.println("Start"); playGameThread.start(); timerThread.start(); timerThread.join(); playGameThread.allDone = true; playGameThread.join(); System.out.println("Finish"); }while(play_again == 'Y'); } public class playGameThread … |
The End.