I had pain under my breast from my gall bladder. Your gall bladder is on the right side below your ribs so the pain can be there. I don't remember any swelling. I would recommend going to a doctor to find out. You may need to have it removed as I did.
As one who has had the problem I can tell you that the pain came in waves and eased off gradually. it can take your breath away.
My pain was under my breast. Your gall bladder is on the right side infer your ribs so it may be possible to have pain there. I didn't have swelling or pain anywhere else. Food with a lot of fat and grease can make the pain worse. I recommend seeing a doctor to make sure to see if it is your gall bladder or something else.