Project: SWT
Bug 39078 FormData throws "Widget is disposed" when it's widget is dispose()d
Reported: 2003-06-18 13:28:34 | Status: resolved fixed

FormData.getXXXAttachment() throws SWTException "Widget is disposed" because it doesn't do any isDisposed() checks. I originally thought hiding the component first and forcing a layout(true) would fix it, but that must have been some other problem. I am attaching a snippit.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormData.java