Custom Mouse Cursor

Set a style name to whatever you want to change using setStyleName();

In my case I wanted to affect the entire page so I called this method on one of my views, setStyleName(“general”);

then you’ll need to add the following to your theme:
.general {
cursor: url(“img/cursor.png”), default;
}

“default” is used as fallback.