Applying 'hover' forces

Once more, the java problem :