He might have been constipated. Don't use spray paint. It takes forever for the fumes to go away and when it gets warm it still produces a strong odor. You can cover 3 sides with a nature background for terrariums or just use dark colored construction paper like black or dark brown. You should stay around 80 to 82 degrees so he doesn't get too hot.
You didn't answer what your frogs humidity level is. You must keep the humidity between 70 and 80% at all times. This is very important. Your frog is probably very stressed. Try night crawlers and see if he will eat them or wax worms.
Your frogs climate must be consistant and the day night cycle must be as well. If the temp keeps jumping around during the day and night from your lights turning on and off all the time it can cause stress. Are you keeping him in a critter keeper or in a glass tank?
Keep me posted.