Howto real time rendering with Java
To render the map in real time using java there are multiple existing applications and libraries you may look at:
For multiple implementations of rendering osm-data to a Java Graphics2D-object, look at the IPaintVisitor-interface in Traveling-Salesman's LibOSM.
There are currently 4 rendering engines to choose from:
- ODRPaintVisitor - paints very nice maps
- SimplePaintVisitor - is trivial and easy to understand
- TilePaintVisitor - downloads and caches tile-images from the network
- SmoothTilePainter - same but downloads asynchronously