[GIS] How to see specific location on java desktop application

google-maps-apijava

I want to see a desired lat/lon point on the google maps on my java desktop application. I made some search so I think google map API is something which I looking for. Am I right? and Is there any useful example for me? (I am totally beginner at google Map API for java)
And I would not to use Android.

Best Answer

It is recommended to use JavaFX for Java desktop applications whenever possible. Here is a good example of Google maps API and JavaFX integration:

https://rterp.wordpress.com/2014/04/25/gmapsfx-add-google-maps-to-your-javafx-application/

This will give you an idea of how you can use it in your own project.

But if you need to embed and display Google Maps in your Java Desktop Swing application, then JxBrowser Java library is what you need. Check this article for example:

http://java.dzone.com/articles/google-maps-java-swing