Question: I tried many times to make the vertical `Scroll Bar` of `Textrea` to be always active instead of being visible only when focus on the `Textarea` but I couldn't do that ! ..

any help please

Answer: 
I know that a lot of time has passed since this question was asked but I still want to give the answer for those who need it. To make the ScrollBar visible you just need to access to it from the TextArea class while passing through the Scrollpane :

```
.text-area > .scroll-pane{

-fx-vbar-policy:always; /* Control the vertical ScrollBar (always,needed,never) */
-fx-hbar-policy:always; /* Control the horizontal ScrollBar (always,needed,never) */

}

```

Good luck !
If you wand declare that within the code you can use lookup:

```
for (Node node : textArea.lookupAll(".scroll-pane"))
    {
        if (node instanceof ScrollPane)
        {
            ((ScrollPane) node).setVbarPolicy(ScrollBarPolicy.ALWAYS);
        }
    }
}

```