I was manager of Humane Soc for 12 yrs. A good tip and non painful way is when they jump, hold their front paws (like you're dancing). When they try to get down, hold the paws yet another few seconds, then let them down. Every time they jump, do this. It takes consistency but every single jumpy dog changed within abt two wks. Well worth the effort in the long run.