Solved

Maximum display and keypress resolution in applet/app

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
GUI builder for Eclipse? 8 35
JavaScript/Java - Changing an image background color 4 66
varialbe initialization 11 32
Which non-HTML GUI front end to use with Java? 3 20
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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …

805 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