Im currently using method
getKeyText() and getKeyCode() like this

How do you listen for * - and + with keylisteners.
/ is the only one that works atm the rest won't get recognized for some reason

if(event.getKeyText(event.getKeyCode())).equals("/")){
//do something
}

that method works, but when I try using a + a - or a * nothing happens, maybe whenever I type * - + it isnt getting recognized or something? , like when I try * it places a number in the text field im using instead of showing a multi sign

If anyone can write how to listen for - + or * it'd be helpful