Sorry I was a little vague earlier, I really wasn't sure what I wanted! Please look at my program so far and see if it is even slightly correct.
I would really like to know
1. the window objects I should have
2. the instance variables I should have
3. how many classes I should have and what are they?
Particular questions I have are
1. How do I make the number of beds in the ward a constant? Where can the user input the number of beds?
2. How do I make a circular array of this number?
3. How do I make the patient details strings? And what is information hiding on strings? Where does it hide? How do I do that?
4. How do I make text appear in the text area?Neatly.
5. How do I remove a patient?
A copy of another similar programs code would be great if you have one so I can see how it all goes together.
I would like as much help as possible with this. Basically I'm after a crashcourse in Java and how to put it together.
I would find it a lot easier if I could see it working. I have no examples of programs here to look at. If you can't show me the whole program, can you show me the main bits of code?