install the new tire on the rim but dont seat the beads. Put a piece of rope between the tire and the rim to hold the tire away from the rim. Paint the rim. When dry remove the rope and blow up the tire.