Lemur
Lemur copied to clipboard
No focus event on disabled component
I have a disabled button. Using tab or clicking on the disabled button does not invoke the FocusChangeListener focusLost or focusGained event.
button.setEnabled(false)
// no more focusLost or focusGained event
Expected behavior: FocusChangeListener still receives the focusLost or focusGained event.
Thinking about this... I think a lot of UI toolkits will consider a disabled GUI element in focusable. Can you describe your use-case a little bit?
Thanks.