The problem is that if you look here you won't see setInputMode (or anything similar). Also compilator complains about this.