theWindow.clear();
for( int i = 0; i < allGraphics.size(); i++ ) {
GraphicsObject go = allGraphics.get( i );
Point goP = go.getPoints()[ 0 ];
goP.modify( moveValX[ i ], moveValY[ i ], 0.0 );
if( goP.getRealX() < 0.0 ) {
goP.setX( 5.0 );
moveValX[ i ] = -moveValX[ i ];
}
if( goP.getRealX() > theWindow.getWidth() ) {