The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Building Maps into Your Swing Application with the JXMapViewer
Subject:  Newbie question: Custom renderering
Date:  2007-11-02 10:08:30
From:  freddiefishcake


Great article, followed your instructions and it works a treat. Important to add library jars for swingx.jar, swingx-bean.jar and swing-worker.jar before the drag / drop works.
I connected to a Web Service that retrieves information including latitude / longitude and a status value. I would like the custom renderer to use e.g. a different colour based on the status value. What is the best way to add this functionality? I tried extending WayPoint - adding the status information was OK, but then had trouble overiding paintWaypoint.
Also, whilst the WS lookup is happening I would like to display the busy cusrsor - what's the recommended way to do that in this framework?

 Feed java.net RSS Feeds