Search:

Type: Posts; User: yihyang

Search: Search took 0.34 seconds.

  1. Replies
    10
    Views
    1,019

    Re: two programs won't synchronize! Plz help!!!

    I've taken care of the synchronizing problem (I just limited the access to the while loop in Advertisement), but now, when I run the program, starting from the second loop, the program ignores the...
  2. Replies
    10
    Views
    1,019

    Re: two programs won't synchronize! Plz help!!!

    "Does the code execute the call to the interrupt() method? Add a println that prints a message to see."

    I've done that (after taking out the 'synchronized' keyword in front of the Advertisement...
  3. Replies
    10
    Views
    1,019

    Re: two programs won't synchronize! Plz help!!!

    Any suggestions??? Really need help here ><
  4. Replies
    10
    Views
    1,019

    Re: two programs won't synchronize! Plz help!!!

    I've done that (after taking out the 'synchronized' keyword in front of the Advertisement constructor), but it just prints out:

    message message message
    Please enter the advertisement message to...
  5. Replies
    10
    Views
    1,019

    Re: two programs won't synchronize! Plz help!!!

    Thank you!
  6. Replies
    10
    Views
    1,019

    two programs won't synchronize! Plz help!!!

    Hello there.

    I've been racking my fruitless brains for hours now, but I still have two huge problems with my code.



    // -------- Begin: Advertisement.java ------------
    class Advertisement...
Results 1 to 6 of 6