Originally Posted by
Kranti1992
How come nobody can help, I thought this would be easy for some of the advanced programmers, as this is only an assignment mid-way through a first year course..
Please keep in mind that a couple hours is not a very long wait for free help, especially on a weekend. We're doing this in our spare time, for free, so some patience would be appreciated. Also, making multiple posts and bumping your own threads will actually decrease your chances of getting help. The best way to get help is to follow the directions in the link in my signature on asking questions the smart way, provide an SSCCE, and ask a specific technical question. It's pretty hard to answer "how do I do this" type questions other than to point you to the basic tutorials and google.
The OP did create another post, although it still contains "how do I do this" type questions:
http://www.javaprogrammingforums.com...-question.html
I'm locking this thread now to avoid duplicating answers, so please continue discussion in the other thread.