Well, it's an issue for me too, and black shorts help ... 
But a couple of things also - yes to Kegels if you're doing them correctly. The way a lot of people describe them is like squeezing or bearing down, which only makes things worse. The way I cue in my head now is "cervix to navel." Lift the pelvic floor upward and inward, don't squeeze together. Kegels will help a lot more with stress incontinence than with urge incontinence, because I'm not sure your pelvic floor muscles will ever be able to overpower your bladder muscles, but they sure don't hurt.
Also, not sure if you've been following the electrolyte threads, but my bladder is a lot more spastic when I'm low on sodium. It's never happened to me during a race, only on training runs when I'm better hydrated.
I haven't experimented, but I've got an awful sweet tooth also, and that might be contributing to the problem.
Speed comes from what you put behind you. - Judi Ketteler