Problem downcasting

I need to change an Object type to int like this int i = (int)Object;where Object is the Object type variable holding my info. When I do that I get an error. How can I fix it?Thanks!!
[211 byte] By [lgarcia3] at [2007-9-30 22:06:08]
# 1
Primitive-typed data (like byte, char, int) are no objects. 1.5 has the autoboxing to provide a mechanism to convert int to an Integer and the other way around. What do you need exactly?
BIJ001 at 2007-7-7 11:19:14 > top of Java-index,Administration Tools,Sun Connection...
# 2
hi,great problem. i have the same problemdan http://www.marketingtops.com
dasderr3 at 2007-7-7 11:19:14 > top of Java-index,Administration Tools,Sun Connection...