JXMapViewer2 is an open-source Java library based on JXMapViewer that provides a Swing JPanel that renders map tiles. Java GUI developers can add it to any Swing application, the way you would with any other JPanel. It loads in raster tiles and presents them.
JXMapViewer2 aims to continue the JXMapViewer library. The project is hosted at GitHub and can be found at : https://github.com/msteiger/jxmapviewer2
JXMapViewer - The original component. It has not been maintained for a while and requires SwingX as dependency.