Search:

Type: Posts; User: jps

Search: Search took 0.09 seconds.

  1. Replies
    12
    Views
    2,302

    Re: Design Model-Assignment

    3. Modify Restart.action() to start the the system by reading events from a text file. Use Scanner and an appropriate regular expression.

    So you will have to read each line, create an event...
  2. Replies
    12
    Views
    2,302

    Re: Design Model-Assignment

    It looks like the constructor for a Bell object expects a value of type long which represents delayTime, not a number of rings.

    If you need to add multiple rings (or multiple events causing rings)...
  3. Replies
    12
    Views
    2,302

    Re: Design Model-Assignment

    Do one thing at a time is my suggestion.
    How you implement the delay between rings is:
    1) a problem to handle later
    2) depends on how the overall implementation is set up

    I have not read all of...
  4. Replies
    12
    Views
    2,302

    Re: Design Model-Assignment

    Look at the example file. What does it show?
    It looks like the bell event currently does not ring any bell once. That looks like a good place to start. Get it to ring the bell once, then get it to...
  5. Replies
    12
    Views
    2,302

    Re: Design Model-Assignment

    Getting closer. What part are you working on and where are you stuck? Be specific, that is a large amount of code to dig through and the more you provide the easier it will be for people to get...
  6. Replies
    12
    Views
    2,302

    Re: Design Model-Assignment

    Welcome to the forum.

    What is it exactly you need help with?
    If you were given some "starter code" to work with please post the unmodified version of it so we can all see the starting point, and...
Results 1 to 6 of 6