- Code: Select all
_escapeActionListener = new ActionListener() {
public void actionPerformed(ActionEvent e) {
hidePopupImmediately(true);
Component owner = getActualOwner();
if (owner != null) {
owner.requestFocus();
}
}
};
But method hidePopupImmediately cleans _owner and _actualOwner. And focus is not sent back to owner.