I want to update the int variable named score.
Type: Posts; User: Tallonejosh
I want to update the int variable named score.
import java.util.*;
import javax.swing.event.*;
import javax.swing.*;
import java.awt.*;
import com.phidgets.*;
import com.phidgets.event.*;
import java.awt.image.*;
import...
Alright I added a Jlabel but it doesnt update the score, how do i get it to update the score everytime the player scores a point?
Alright lol got everything working, sorry if i seem completely retarded I've got alot to do this week.
Here is what ive got soo far:
import java.util.*;
import javax.swing.event.*;
...
Alright I got it, but the Images are not showing up.
* import java.util.*;
import javax.swing.event.*;
import javax.swing.*;
import java.awt.*;
import java.awt.image.*;
...
Okay... I want to save the last number generated by the Random and check to see if it is the same as the one being generated, if it is then generate a new number but if it isnt continue on with the...
Alright i get what you're saying, I see that by setting noDoubles= currRand and then using the if statement directly after i am not really accomplishing anything, but i am not sure how to solve this...
Alright I tried doing what you said with trying to keep track of the numbers as they are generated but i am still getting numbers twice in a row, I also tried using the setIcon() method for the...
Alright thanks think i got it:
import java.util.*;
import javax.swing.event.*;
import javax.swing.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
...
I am having problems with both the components being shown and the timer. it seems that the Numbers are being displayed 3000 times for every 3 seconds, and i would like it to only display the image...
For my project i have 3 light sensor's labeled 1,2 and 3. Eventually I would to display a screen with a Play button, after the button is pressed i want it to randomly display A picture of the...