Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Maximum display and keypress resolution in applet/app

Posted on 2003-11-17
5
Medium Priority
?
236 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 1400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

886 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