I did not use GWT after a while, so this is more of a pointer than an answer, but I wanted to include some links, so I used the response field;).
DatePicker is Composite , so I donβt think you can turn it on / off directly. But you can add a preview handler to disable events, or drop a panel above it (and, for example, gray). See this answer for information on this: Disable user interaction in a GWT container?
As a general note, everything that extends from FocusWidget is on / off, but composites are collections of other widgets, so they work differently.
source share