Bridge simulation

Hi,

I am trying to build a bridge traffic simulation. But i wasn't able to move the animated pictures across the screen. I have used Swings for this.

I used the code like this. But the image is not moving from the initial position.

images[ currentImage ].paintIcon( this, g,(int) oldXPosition ,(int) oldYPosition );

oldXPosition +=20;

currentImage = ( currentImage + 1 ) % totalImages;

Is there any alternative to do this? Whether it will be easier to do this using 3D API ? Can 3D API be used inside Forte for java ? If so please advice me the same.

Thanks in advance..

[652 byte] By [jilsa] at [2007-9-27 2:20:18]
# 1
I have tried to answer most of your questions in another thread :-)The 3D API can be used inside Forte, although it doesnt fit as nicely as Swing.
ajoachim at 2007-7-4 21:39:29 > top of Java-index,Security,Cryptography...