This story shows how to paint sliding doors.
Following the sequence illustrated on slide 1 and beginning with the stationary panel, paint one vertical edge, then paint the top of the frame. Next paint the opposite edge and bottom of the same panel. Move the sliding section about an inch from the edge of the jamb and paint it in the same order. Leave the sliding section open until the paint dries.
Like any door, you can paint sliding closet doors (or pocket doors) in place, but you'll get easier application and a better-looking surface if you remove the doors. To remove sliding doors, grasp both sides of the door and lift up and push its rollers off the track.