aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes is it possible to give info window in Open Street Maps in Java swing application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "is it possible to give info window in Open Street Maps in Java swing application" Watch "is it possible to give info window in Open Street Maps in Java swing application" New topic
Author

is it possible to give info window in Open Street Maps in Java swing application

sum prit
Greenhorn

Joined: Mar 13, 2011
Posts: 14
Hello everyone i am using a swing application where i displayed Open Street Maps. Now i need to display info window in the OSM. Could anyone help me, so that i can able to give info window in the OSM. is it possible to give info window in OSM.

Did i need to use plugins for that. I am using eclipse IDE. Again is it possible to display google maps in java swing application. i have searched in google but still not sure whether i can able to use google maps. Please give me some suggestion.

Thanks in advance.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39529
    
  27
This very recent thread should be interesting: http://www.coderanch.com/t/533149/GUI/java/it-possible-display-google-maps


Ping & DNS - updated with new look and Ping home screen widget
sum prit
Greenhorn

Joined: Mar 13, 2011
Posts: 14
Thank you. i have gone through the link and tried to use the sample code and run it, but it is showing me error in-

The MapAboutBox.java file2 errors in .getInstance(mappapp.MainApp.class)......)

org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(mapapp.MapApp.class).getContext().getResourceMap(MapAboutBox.class);

and

javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(mapapp.MapApp.class).getContext().getActionMap(MapAboutBox.class, this);

It says that---

Multiple markers at this line
- Bound mismatch: The generic method getInstance(Class<T>) of type Application is not applicable for the arguments
(Class<MapApp>). The inferred type MapApp is not a valid substitute for the bounded parameter <T extends Application>
- mapapp cannot be resolved to a type.

I don't understand what to do. please give some more information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is it possible to give info window in Open Street Maps in Java swing application
 
Similar Threads
is it possible to display google maps in java swing application
Best way to design a dynamic jsp form
pop up window for OSM
need to construct a url for google maps (and redirect to it)
how to perform mouse listener for an open street map