openmap

How to wait until JComponent is fully painted?

I need a way to wait until a (Swing) JComponent is fully painted. This actual problem arises from an openmap application: The task is to draw a map (mapBean) with a couple of layers and create an image from that map. Unfortunatly, and it's clearly documented, the image formatter takes the current state from the map to create the picture...

Waiting for a thread to finish from a 3rd party library (OpenMap/Java)?

Hi everyone, My application currently has an interesting problem. This problem is with OpenMap but could probably be applied to any 3rd party library. In this particular example, our code needs to create our OpenMap tool and load its layers (in the background) and take a screenshot of a particular point of interest. However, the probl...

shapefile with openmap

I have us state border shape file and I want to read information from that file using openmap api for java.Also to find the states within 50 miles of a given city. How can i do it? ...

Using OpenMap API which class do I use to extract point data from the shapefile?

I am currently using Shapefile class and ColdFusion to go through the "records" of each shapefile. Each record has a bounding box and i am able to get this information but havent found a way to actually retrieve the points inside each record. Can someone shed some light on which classes to use and how to use them? This is the exact sa...