Type: Posts; User: steveby63

Search: Search took 0.43 seconds.

  1. Replies

    Re: Problem with Populating a List

    The method is meant to add the details from a list to a 'List box'. I guess the contstuctor adds the details to the display as well. The only progam I use to run it is NetBean so the provided...
  2. Replies

    Problem with Populating a List

    Hello. I am required to create a list of names in a form as part of a GUI. All the codes for creating the GUI have been done, the code for creating the form, scroll pane and a predefined list...
  3. Linking objects, exception throwing and using boolean - how?

    I have been asked to a method recordTreatment(aPatient, aDrug) with the following specification:
    (i) aPatient is not liked to ant Treatment object which is linked to aDrug; otherwise an exception is...
  4. Problem with method - not sure if it's correct

    I have been asked to create a method hasHad(aDrug). The method specification is: If the receiver is linked to aTreatment object that is linked to aDrug then returns true; otherwise returns false. ...
Results 1 to 4 of 4