April 22nd, 2013 10:29 PM
Nevermind I solved it with a helper function for print. Thanks all for your time if anyone wants email me or PM me and I will let you know how I did it. Peace, Out.
April 22nd, 2013 10:01 PM
Don't you need Windows 8 to run vs 2012?
April 22nd, 2013 09:52 PM
Hello, I am trying to use a red-black tree, STL Map, to read in a file that counts the words while ignoring punctuation and converting all words to lowercase. My problem occurs when I try to print...
November 13th, 2012 08:01 PM
Hello again I am writing a program that takes the users input and finds that many primes; not the primes of the number from the user just that many.
The problem is when I input the amount of...
November 13th, 2012 07:58 PM
K I have solved this using scanf() C call thanks to all who were working on this
November 12th, 2012 06:53 PM
Hi, I am having trouble when I read in an integer from the keyboard and I try to display it to the screen back as the same integer. It pops out as an ASCII character. Am I doing this wrong or is...
November 5th, 2012 10:09 PM
Now I know why I come here great people and it feels good. Unlike Dream.in.code.net which takes forever to get a reply, and the ADMIN's are very disrespectful people swinging the ban hammer blindly....
March 19th, 2012 12:57 PM
Also anyone may use my code. Permission granted for this thread only
March 19th, 2012 12:55 PM
I am writing a pacman game and it has to be an applet not a JApplet.
The problem is the pacman's movement. He will only go a very short distance before he locks up. He is supposed to be following...
March 17th, 2012 11:14 PM
I am wanting the program here to run 100 trials and for every trial display the number of times one will go broke or reach there goal depending on the initial amount that is bet.
So for one trail...
March 16th, 2012 11:03 PM
*This is an assignment*
*instructions for original assignment attached*
Ok, I am trying to get the program to calculate the number of times one goes broke and the number of time one reaches the...
February 24th, 2012 11:16 AM
"(2*cal.get(Calendar.SECOND)) This is because you ARE making it twice as value. If you want it to be twice as fast here is what you need to do.
Make a variable "quickness" make it...
February 24th, 2012 10:50 AM
I am trying to get this clock to tick twice as fast when the "2x Speed" button is clicked. For some reason the clock will jump to another location, when the button is clicked, as if the clock were...
February 21st, 2012 12:47 PM
What is wrong here?
long start = System.currentTimeMillis();
secHand = cal.get(Calendar.SECOND);
long end = System.currentTimeMillis(); ...
February 21st, 2012 11:35 AM
Yes, got digital time to work properlly.
Calendar cal = Calendar.getInstance();
timeString = formatter.format(cal.getTime());
These need to be put into the paint function, above...
February 21st, 2012 07:44 AM
Yeah I was still trying to figure out why the seconds never tick in the digital clock part of the program. Does it have anything to do with it not being in the while loop within run()?
February 21st, 2012 02:30 AM
Second question, Why does the 2x button not reset when clicked for a second time. The original time starts where it left off, but it seems that 2x the speed keeps running in the background. Whenever...
February 21st, 2012 12:39 AM
Ok gotta take a step back on the previous post. Clock seconds still isn't fixed to where they tick appropriately on the digital ticker. What is wrong? Can anyone give a pointer.
February 20th, 2012 09:00 PM
I am having a similar problem with having the seconds increasing the speed of the clock by 2. What can I do without having to do if else statements within run()? Also I've tried to do something sort...
February 20th, 2012 07:46 PM
Ok got more help here is the code a bit more cleaned up at the Military button. I know that the paint() should be seperated into more smaller methods, but I will fix it after I get the core of the...
February 20th, 2012 07:06 PM
Ok, I fixed it, but in a "rough draft" sort of way. I just went and put the military button into run(). It works, but it seems to be extremely messy. I plan on adding more buttons that affect the...