Go here: http://www.falstad.com/circuit/index.html
When the window pops up, go to the Circuits menu -> Basics -> Capacitor. You'll see what happens to the capacitor with DC. Try flipping the switch.
Then choose Circuits -> AC Circuits -> Capacitor.
That's an awesome program!!!!