Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Clock RAP
Clock RAP [message #726030] Fri, 16 September 2011 12:45 Go to next message
Jens  is currently offline Jens Friend
Messages: 13
Registered: March 2011
Junior Member
Hi,

what is the best way to realize a Clock in RAP ?. My current solution is a thread, which constantly updated the time every 30 seconds. But the problem with this solution is that the UICallback is permantly activated to ensure the update of the time. Is there a better solution for this ?

Best Regards

Jens
Re: Clock RAP [message #726118 is a reply to message #726030] Fri, 16 September 2011 15:47 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Jens,

I'd use a custom clock widget that updates itself using Javascript. You
can also use the SWT Browser widget and embed some existing JavaScript
clock.

Regards, Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Clipboard functionality in RAP
Next Topic:browser.setUrl
Goto Forum:
  


Current Time: Thu Sep 19 03:23:09 GMT 2024

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

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

Back to the top