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

