Numerical Study of Weak Localization Effects in Disordered Cavities