Link to home
Start Free TrialLog in
Avatar of JorgenAx
JorgenAx

asked on

How to get data from java program into a URL

Dear Experts
A couple of months ago I asked the following question:

"I have to develop a program that can display the sites on a map where certain plants have been found.  How do I start doing this in Java. It has to fit into a Java Swing application.
The data will come from a Access Database and I know how to make contact to Access.
Looking forward to your answer"

and I got the answer from Doug:

"I would suggest using Google maps to display the location of the plants (http://today.java.net/pub/a/today/2006/10/25/integrating-google-maps-into-web-application.html)
coupled with a component for showing HTML within the Swing app:
http://docs.oracle.com/javase/tutorial/uiswing/components/text.html
http://docs.oracle.com/javase/tutorial/uiswing/components/html.html"

I have now placed the HTML code  implementing the Google maps in a html-file , and clicking this file actually opens a Google map with markers on it.

Now I would like to have some assistanc on how to send the coordinates for the markers (red spots on the map) from the java program to be implemented in the Google maps?

Looking foraward to your answer
Jorgen
ASKER CERTIFIED SOLUTION
Avatar of Am P
Am P
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JorgenAx
JorgenAx

ASKER

The solution seems promising, but I still have a problem with request.status = 0 that keeps the program from functionning, which needs to be solved.  I have tried to ask the question to the community, but I am not sure if it has comr through?

Thank you for you answers
Jorgen