Community
Participate
Working Groups
Currently if I create a widget on a disposed container I get: "Argument not valid" Would it be possible to return a message which is a bit more helpful? For null parameter I get: Caused by: java.lang.IllegalArgumentException: Argument cannot be null Maybe we could add a new exception for argument is disposed and return it in Widget#checkParent? Currently: if (parent.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);