Search:

Type: Posts; User: Norm

Search: Search took 0.31 seconds.

  1. Replies
    10
    Views
    1,827

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

    I'm not sure what reading from two different inputs will do.

    System.in.read();

    Here's the console when I execute it:


    I used this in the main() method to execute with

    ...
  2. Replies
    10
    Views
    1,827

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

    Can you post the current version that shows the println() statements.
  3. Replies
    10
    Views
    1,827

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

    Please explain what the problem is now?
  4. Replies
    10
    Views
    1,827

    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.

    The code should use the equals() method to compare Strings, not the == operator.
  5. Replies
    10
    Views
    1,827

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

    Please edit your post and wrap your code with code tags:


    <YOUR CODE HERE>

    to get highlighting and preserve formatting.
Results 1 to 5 of 5