KeyObject vs keyboard listener

I’m writing a small game that in each frame requires knowing the state of the jump key (pressed or not pressed). I can set jump key state by using keyboard listeners to set the state, or I can use something like Senocular’s KeyObject and poll the key each frame of the game to get the state.

Would one be much more efficient than the other?