VSynced Java Ticker
I need a very smooth Text-Ticker. Now I want to know if itīs possible in a Java program (not an applet) to ask the vsync signal, like many DirectX programs in Windows do.
Or is there an other possibility to to have a very smooth scroll?
Really noone out there who could help me?
... or can I take a special kind of timer?
Thanks for any help,
Found these 3 through google.
Although they are Applets, Java is Java and uses the same code in an Application or an Applet. You just have to present the two differently to the end user depending on browser(Applet), or Window(Standalone Application).
The program the code in the exact same way, so you just have to think up a way to move text (a String object) across the window (or more likely the frame).
Hope that helps, DJDaveMark
Thanks. It seems that itīs the only chance to have a smooth scroller by doing it with threads.
No chance to synchronize it with the hSync-Signal of the graphics-card which means that you always have a flickering or a
a little stocking.
erm, dont forget though, that java was designed as a cross-platform language, and hence not every platform that java runs on, even HAS a graphics card.. what you request is very platform specific, and you will need to investigate the java native interface.. a better place to start would be a c++ forum, for the v_sync issues
consider that the effort is not worth it; people rarely notice, or care
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL