Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » What's the point of Display.findDisplay(Thread) ?
What's the point of Display.findDisplay(Thread) ? [message #823888] Sun, 18 March 2012 22:06
Eclipse UserFriend
I have a reference to the UIThread, if I call Display.findDisplay(Thread), I get an exception saying no context is available. I can't call UICallback.runNonUIThreadWithFakeContext to run in a fake context because I don't have the display yet...

I've checked the cvs history and this would have worked before rev 1.116 of Display.java.

"Applied patch from bug 337787: [Refactoring]: remove singletons and static fields in
RWT"


My problem is I have a background thread that goes through the open sessions and does some clean up. Its got access to the ui thread as it is stored in the session. There is no public way to get a Display object from a UIThread.
Previous Topic:log4j
Next Topic:What's the point of Display.findDisplay(Thread) ?
Goto Forum:
  


Current Time: Sat Jun 14 01:55:35 EDT 2025

Powered by FUDForum. Page generated in 0.07348 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top