Place the trim along the hem of your shorts and sew. For those not so confident in sewing, pin down the lace before you start sewing.
You can even get creative and add the lace trim around pocket openings.
Once you get to the ends, fold the lace under and sew downwards.
Bam! New shorts in less than 15 mins.