JScrollPane and setting knob increment?
843805Nov 23 2005 — edited Nov 30 2005Does anyone know of a way to set the increment of a 'knob' drag using JScrollPane? I have a JTextPane that I've added to the JScrollPane and I want any vertical scrolling to be done on a line by line basis. I've set both the unit and block increments to the appropriate value, which allows all vertical scrolling done by the buttons and track to be line by line, however when the knob is dragged it still seems to be pixel by pixel. I would like this feature to be line by line as well...
thanks in advance