Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Control.getDisplay() for [a]syncExec


Control.getDisplay() says that it cannot be called from another thread.  I don't see any reason for this.  It would be a convenient way to get a Display from a background thread.

Is the JavaDOC out of data?  Didn't this method used to call getParent() (which calls checkWidget()) instead of accessing the parent field?

Back to the top