Dear all,

i'm developing a Midlet application using the netbeans IDE.
i facing some problem where if i want to key in # or * from the emulator, i just can't get it right.

1.when i press the button which have # key(because this button have #-+ and space together) what i always get is - or + or space.
how can i code it so that i can get to display the # key when i press on that button?

2.the other question is when developing a database application, is using RMS or JDBC better?
my application will deal with 1000++ data. can we apply JDBC into mobile phone?

3.How to know which button of the mobile phone is pressed? is using the "itemStateChanged" able to do this?
can you show me the example? what should i put in the "if" statement, if i want to capture the button of number 6 is pressed?
Some example i get it from internet.
public void itemStateChanged(ItemEvent e) {
if (e.getStateChange() == ItemEvent.SELECTED) {
} else {
// label.setVisible(false);