just then
ちょうどその時、うまい考えが浮かんだ。
Just then, I had a great idea.
ちょうどその時彼女が私の部屋に入ってきた。
Just then, she came into my room.
ちょうどその時彼女は電話に呼ばれた。
Just then, she was called to the phone.
ちょうどその時に、教授が入ってきた。
Just at that moment, the professor walked in.
ちょうどその時電話が鳴るのを聞いた。
Just then, I heard the phone ring.