And if you ever get into using wierd shapes, like a Risk board style. I found it fast enough to create a ini file that listed all the areas.
1=Brazil 12 10
2=Canada 23 69
3=United_States 23 30
border1 = 7 2 5
border2 = 9 10 3 12
I use built in java ini reader and a string tokenizer.
The first part holds the area names ( under scores _ = spaces), then follows the x and y for the pieces.
The second part holds all your borders. I found setting up this ini file I could create a board game with some really wierd shaped areas. Works well for games that require a risk look and feel.
I would like to develop a map maker to create the ini file, but havent got around to it yet.
The coolest thing I found, another developer showed me. Was to take the origenal PNG and create a grayscale GIF of the image. The player always sees the hi res color PNG. The GIF is just for processing background things.
Then take area 1 Brazil and make the RBG 1,1,1
Canada would be RBG 2,2,2 and so on.
Thus you can take the GIF image and any x y coordiante and figure out where you are from the RBG value. This also allows you to highlight areas by changing the RBG value to a real color like RED on the file then displaying a sub image, thus it looks like your highlighting the area. Works good for mouse clicks.
I'm still working on the highlighting part though.