You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ComponentEvent.getSource just inherits its documentation from java.util.EventObject, which is
@return the object on which the Event initially occurred
Which may be read as if the source is expected to be CheckBox (the click event initially occurred in a checkbox) instead of HorizontalLayout (which is the component where the listener was attached).
The text was updated successfully, but these errors were encountered:
Consider this case:
ComponentEvent.getSource
just inherits its documentation fromjava.util.EventObject
, which isWhich may be read as if the source is expected to be
CheckBox
(the click event initially occurred in a checkbox) instead ofHorizontalLayout
(which is the component where the listener was attached).The text was updated successfully, but these errors were encountered: