Adhesive or cemented joints using materials which fill the space between parts of a joint before hardening