Hi, dear all,
I'm doing a HCI project which needs a java program to collect data from users.
I'm a java beginner, my problem
1. How to use AWT to write a program for demonstration of a serial single
key activities,
including single clicks, double clicks and triple clicks?
2. for each click, how the program show and record the key presse, hold,
release and the duration between
two of them? is there any pre-defined timing parameter for these in AWT/Swing?

3.how to create a timer to count how long a user take to finish
whole serial activities?
4. how to find javax.swing? if anybody got it?

Any point/code about any question above is welcome! Thanks!!