View Single Post
Old 04-23-2008, 03:50 AM   #7 (permalink)
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

you have to cast the field to the subtype first:
Code:
if (field instanceof EditField){system.out.println((EditField)field).getText()}
__________________
java developer, Devinto, hamburg/germany
Offline   Reply With Quote