scan/selection using a play button

Hi all, I am trying to create a program that simulates some sort of scan or selection from one icon to the other when a play button is pressed. Also a pause button to halt scan when the user sees a desired icon.Any ideas?
[242 byte] By [js04a] at [2007-11-27 1:15:03]
# 1
within the action listener of play button u have to write the the functionality of the scan or selection.
Dharmendra.jspa at 2007-7-11 23:50:23 > top of Java-index,Desktop,Core GUI APIs...
# 2

Thanks...

I'm only worried cos I dont know how to write the code for this. Can u please give me an example of a code: user clicks on play button, scan begins from the edge of the screen then user clicks on a pause(or stop) button.....icon at that instance becomes selected(or chosen) icon

Many thanks

js04a at 2007-7-11 23:50:23 > top of Java-index,Desktop,Core GUI APIs...