I have a text file that has two columns one with time in milliseconds and the other with (x,y) coordinates.
I created a JFrame in a class that extends JPanel. It shows a model of constructed ladder that we use in our experiments.
Now I want to print some small ovals (4 at a time) at given x,y coordinates at given point of time. There should be only 4 ovals at a time on the screen from the beginning.
The text file looks like below for eg;
So, I have to read the text file with my program, take the time point and x,y coordinates. The time points in milliseconds is the duration for how long the oval should appear in the JFrame.
Please help me...
See the posts on this thread:http://www.java-forums.org/java-applets/56280-create-moving-points-respect-time.html
create a point object at the left location
using certain interval ,change the x position a litle to the right