implemented setintprop() method. Now it runs ok on Mac Desktop