Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Maximum display and keypress resolution in applet/app

Posted on 2003-11-17
5
Medium Priority
?
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

722 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