Do you have access to a digital map that you wish to use?

First you would need to create the GUI. There is a really good Swing tutorial here:

Trail: Creating a GUI with JFC/Swing (The Java™...