@Override
    public void stopEvent(){
        try{    
        for(int i = 0; i < 2; i++){
        particle.setTranslateX(INIT_X_coulombs + i*INIT_X_coulombs);
        particle.setTranslateY(INIT_Y_Coulombs); 
        electroForce.setEndX(pointCharge.getCenterX());
        electroForce.setEndY(pointCharge.getCenterY());
        electroForce.setEndX(particle.getCenterX());
        electroForce.setEndY(particle.getCenterY());
        }
        pointCharge.setCenterX(pointChargeDraggableX + pointCharge.getTranslateX());
        pointCharge.setCenterY(pointChargeDraggableY + pointCharge.getTranslateY());
    
        }catch(Exception a){
            JOptionPane.showMessageDialog(null,
                "Invalid input", "Error",
                JOptionPane.ERROR_MESSAGE);  
        }
    }