Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for cmh0114

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, …

Member Avatar for JamesCherrill
0
828
Member Avatar for khess

It's a cell phone for crying out loud. Do you get it? A cell phone. You know, you make and receive phone calls on it. It's a telephone that you carry around in your pocket. Who gives a rip whether it's equipped with a web browser, a file editor or …

Member Avatar for theseekerguy
0
718
Member Avatar for cmh0114

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 …

0
52