Embed google maps in Java desktop Application

Yes, the Google Maps APIs can now be used in Desktop applications

Check out these Stack Overflow threads:

Google Map in JAVA Swing

Embedding Gecko/Webkit in Java

Webkit browser in a Java app

Rendering webpages with WebKit in Java

You can also see the tutorail of using Maps in Java Desktop Application.


You can use JxMaps library to complete this task. It has Swing component which can be simply embedded to JPanel.

void createMapView(JPanel parent) {
    MapView view = new MapView();
    parent.add(view);
}

This library has comprehensive set of classes for working with Google Maps from java.