Nobody can tell for sure what the future holds for hurricanes in Panama, but it's very unlikely that one will ever head in that direction. The reason hurricanes don't hit places like panama and costa rica is that they are just not in the classic path that Atlantic hurricanes travel. Due to the ocean currents, upper level wind flows, and rotation of the earth, hurricanes always take an upward curving path as they move east to west. Since they always curve upwards away from the equator, they always curve away from Panama. Panama is simply too far south to be in the path of a hurricane.