modif option thread java