0

See the posts on this thread:

http://www.java-forums.org/java-applets/56280-create-moving-points-respect-time.html

You

This article has been dead for over six months: Start a new discussion instead

1.11M Members

0

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;

DateTime unitLabel

19:01:22.074 (x,y)

19:01:22.093 (x,y)

19:01:22.189 (x,y)

19:01:22.232 (x,y)

19:01:22.310 (x,y)

19:01:22.317 (x,y)

19:01:22.429 (x,y)

19:01:22.497 (x,y)

19:01:22.504 (x,y)

19:01:22.531 (x,y)

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...

0

http://www.java-forums.org/java-applets/56280-create-moving-points-respect-time.html

You

This article has been dead for over six months: Start a new discussion instead

Tags Related to this Article