I’m creating an editable label on a temporary basis, and would like to delete the label if the user hits return, or clicks outside the label, causing it to loose focus.
When the user hits return, my LabelListener gets notified that the text has changed, and I can do deletion there.
If the editable label looses focus, textEditorFocusLost() is called, but that doesn’t trigger a change notification.
Is there a clever way to do this, or am I best off subclassing Label to get that functionality?