The former Greens candidate described to a Japanese court how she started online dating after her divorce because she was lonely.