Random matrix theory is used to show that the proximity to a supercond
uctor opens a gap in the excitation spectrum of an electron gas confin
ed to a billiard with a chaotic classical dynamics. In contrast, a gap
less spectrum is obtained for a non-chaotic rectangular billiard, and
it is argued that this is generic for integrable systems.