Solved

Maximum display and keypress resolution in applet/app

Posted on 2003-11-17
5
230 Views
Last Modified: 2010-03-31

I understand that it is possible to be accurate to the millisecond (or 10 msec at the worst) in determing the latency of a keypress following a screen display (using directx?)..

is this possible using a java applet?  I have heard of a toolkit called SWT that allows hooking a directx interface to java apps under windows.

second question pertains to display time.. this depends on the refresh rate..

say if the display was at 120 hz, one could display a slide for around 10 msec (close to 9 msec) accurately (using directx in windows?)

would such a thing be possible using applet/app under windows?
0
Comment
Question by:nsriram
  • 2
5 Comments
 
LVL 92

Expert Comment

by:objects
ID: 9766796
> is this possible using a java applet?

applet should be no different to an application.

> would such a thing be possible using applet/app under windows?

I doubt you'll get that accuracy.
I'm not even sure the clock is that accurate unders Windows, seem to remember its onlt accurate to about 25ms.
0
 

Author Comment

by:nsriram
ID: 9766813
explain then how software software claims 1 msec response collection accuracy

as in   www.millisecond.com  (downloadable)

as well as www.pstnet.com

0
 
LVL 92

Accepted Solution

by:
objects earned 350 total points
ID: 9766831
The following question:
http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_10106007.html

claims the foillwoing resolution:
Windows NT 3.5 and later <-> The system timer runs at approximately 10ms.
Windows NT 3.1 <-> The system timer runs at approximately 16ms.
Windows 95 and later <-> The system timer runs at approximately 55ms.'

And then there is thread sheduler to worry about.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
eclipse apache tomcat admin console 52 121
Unhandled exception type Exception 18 42
ejb mdb examples 1 8
Glassfish admin console not working 1 32
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question