Solved

Maximum display and keypress resolution in applet/app

Posted on 2003-11-17
5
224 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupNoAdj 7 84
PDFBox - convert image to PDF, PDF resolution 3 115
Java Filesystem manipulation of Word Docx file (find replace text) 3 65
recursion example 16 111
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
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…
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 will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

919 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now