I do not have ME installed so i cannot compile your code. what errors do you get?
I do not have experiance with ME and MIDlets but I have some experiance with awt and swing. If you are using TextFields you need to import them form import java.awt.TextField. For swing gui's to get text from a JTextField use
.getText