control Firefox by Java