Do swelling and oedema mean the same thing?

no they do not mean the same thing. Oedema is swelling due to fluid collecting in a tissue (eg the legs). Swelling just means enlarged and whilst a common cause is the collection of fluid (eg heart failure) it could also be due to fat or anything else that deforms the normal shape (eg a fractured bone or a cancer).