There is a JXMapViewer component in the SwingX project. You can write a new TileProviderInfo, TileFactory, to pull images from Google maps, but using JXMapViewer to retrieve maps from Google was illegal when I used it (2008). Usually, Google changed the format of the map URL, so your program may be unexpectedly interrupted if it is still illegal.
JXMapViewer Microsoft Visual Earth Google.