Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Mon, 19 March 2012 02:06
Chris Fairhall is currently offline Chris FairhallFriend
Messages: 221
Registered: February 2011
Senior Member
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: Tue Apr 23 08:35:15 GMT 2024

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

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

Back to the top