Where you have
System.out.println("KLIKNIETO!!!");
replace with
String href = ((Element)ev.getTarget()).getAttribute("href");
to get the URL of the link clicked on.
This page gives a good example of what you are trying to do:
http://blogs.kiyut.com/tonny/2013/07/30/javafx-webview-addhyperlinklistener