@FXML
    private void PressEnter(KeyEvent event) {

    String pulsado = event.getCode().toString();
    if ("ENTER".equals(pulsado)){
    String dir = Direccion.getText();
    
    if(dir.contains("http")==true || dir.contains("www")==true|| dir.contains(".com")==true|| dir.contains(".es")==true){
    
    dir = dir.replace("http://","");
    dir = dir.replace("https://","");
    
    try{
    web.getEngine().load("http://"+dir);
    }catch(Exception e){
    web.getEngine().load("https://"+dir);
    }}else{
    String search = this.getWords(dir);
    try{web.getEngine().load(search);}catch(Exception e){}
    
        
    }
    }}