Question: when I click the localhost/phpmyadmin it directly goes inside without asking login in wamp.I want to ask for login in phpmyadmin and local.

Answer: 
3 corrections

* `Object myObject` must be `WebView myObject;`  

*If you want to use methods from `WebView` object, you must declare `myObject` attribute of `WebFragment` class as a `WebView` type if you want to use the methods it declares.*  

**NOTE:** You must change also `getter` signature to `public WebView getWebView() {`
* `myObject.setName();` should receive a parameter i.e: `myObject.setName("name");`
* Constructor without parameters does not make effect when asign a variable:

```
public WebView () {
    this.name = name;  // Warning: The assignment to variable name has no effect
}

```

must be:

```
public WebView () {
}

```
change your methods to following

```
public void setName(String name) {
    if(name != null) {
        //this.setName(name);
       this.name=name;
    } else {
        System.out.println("Thats not his name");
    }
}

```

and also this :

```
public void callSetNameFunction() {
    WebView wvob=(WebView)myObject;
    wvob.setName("ola");    
}

```

setName method is with WebView class.So Object class reference cant find it.