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.


1 Answer 1


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


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:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.