Note that the policy is just the scroll *bar* policy. If you have any focusable elements inside the scroll pane, they'll allow the user to scroll with the arrow keys as well. To prevent the mouse wheel from scrolling, you could add a container mouse listener on the scroll pane and consume mouse wheel events...
-T On Wed, Jun 2, 2010 at 7:52 AM, <[email protected]> wrote: > Hi! > > Just found out that a scrollpane scrolls the view vertically even if the > corresponding policy is set to never. There is no vertical scrollbar but I > can scroll the view with my mousewheel :( > > Any ideas how to prevent that from happen? > > Thx! > > -- > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 >
