-
VSynced Java Ticker
Hi,
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?
Thanks,
Udo
-
Really noone out there who could help me?
... or can I take a special kind of timer?
Thanks for any help,
Udo
-
Found these 3 through google.
http://www.mcwebsoftware.com/j-perk/.../jpsmooth.html
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
@ 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.
Udo
-
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|