aspose file tools*
The moose likes Java in General and the fly likes method help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

method help

steve low
Greenhorn

Joined: Sep 27, 2006
Posts: 27
Hi guys

i kinda got my method working but not as i wanted it to basically this method is replacing the old one at the bottom. and what i want it to do
select number of human players.. you have from 1 to 5 but throw an exception if more then 5 and loop allowing the user to select human players again. thats what ive done below. the bottom code is the old code you can have a look and see what im trying to do to it...





old code
/
[ October 01, 2006: Message edited by: steve low ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

Please don't start a new topic in the middle of the same discussion. Anyone answering here would benefit by seeing the context in the original discussion here. This really doesn't belong in JiG(I), so I'm going to close this one and leave the one in Beginner's open.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: method help
 
Similar Threads
turning method to OO
turning method to OO
Runtime Error ... help plz
2 methods into one?
Junit Help