Try assigning the cast value to a variable. That's what the compiler's looking for.
By the way, you'll soon get a message from one of the sheriffs that your name violates the JavaRanch rules for names. You may want to change that before they 'cuff you. [ October 04, 2004: Message edited by: Jeff Bosch ]
Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)