Search:

Type: Posts; User: Tallonejosh

Search: Search took 0.25 seconds.

  1. Re: Working on a phdgets Project for Computer Science Need some Help.

    I want to update the int variable named score.
  2. Re: Working on a phdgets Project for Computer Science Need some Help.

    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...
  3. Re: Working on a phdgets Project for Computer Science Need some Help.

    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?
  4. Re: Working on a phdgets Project for Computer Science Need some Help.

    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.*;
    ...
  5. Re: Working on a phdgets Project for Computer Science Need some Help.

    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.*;
    ...
  6. Re: Working on a phdgets Project for Computer Science Need some Help.

    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...
  7. Re: Working on a phdgets Project for Computer Science Need some Help.

    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...
  8. Re: Working on a phdgets Project for Computer Science Need some Help.

    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...
  9. Re: Working on a phdgets Project for Computer Science Need some Help.

    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.*;
    ...
  10. Re: Working on a phdgets Project for Computer Science Need some Help.

    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...
  11. Working on a phdgets Project for Computer Science Need some Help.

    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...
Results 1 to 11 of 11