VSynced Java Ticker


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: VSynced Java Ticker

  1. #1
    Join Date
    Feb 2004
    Posts
    3

    Arrow 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

  2. #2
    Join Date
    Feb 2004
    Posts
    3

    Really noone out there who could help me?

    ... or can I take a special kind of timer?

    Thanks for any help,

    Udo

  3. #3
    Join Date
    Jan 2004
    Posts
    20
    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


  4. #4
    Join Date
    Feb 2004
    Posts
    3

    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

  5. #5
    Join Date
    Feb 2004
    Posts
    808
    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
    The 6th edict:
    "A thing of reference thing can hold either a null thing or a thing to any thing whose thing is assignment compatible with the thing of the thing" - ArchAngel, www.dictionary.com et al.
    JAR tutorial GridBag tutorial Inherited Shapes Inheritance? String.split(); FTP?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center