tags:

views:

335

answers:

2

I would like to put in my own graphics instead of the OS dependent boring scrollbars for the website I'm building. Is there a way to do this in GWT?

A: 

I agree with Slaks. Best bet is to use the Jquery plugin JScrollpane.

http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html

adamwstl
Is it possible to incorporate jquery in gwt?
Kasturi
Yeah, Jquery works on all browsers if that's what you mean.
adamwstl
A: 

The best solution i found is to create my own scroll panel. The scroll bar is wrapped around a Focus panel. I've added Mousedown, mousemove and mouseout handlers to the focus panel. Recording the mouse movements and moving the contents accordingly.

Kasturi