disable scrolling to cell in focus

Posted by Victor on Stack Overflow See other posts from Stack Overflow or by Victor
Published on 2009-08-17T18:44:01Z Indexed on 2010/04/29 23:57 UTC
Read the original article Hit count: 362

Filed under:
|
|
|

I have a jtable inside of a scrollpane. how can i stop the scrollpane from scrolling up or down when a cell that is partly out of view gains focus?

the problem is i am setting the cells to editable when the user mouses over them, so when you mouse over a cell that's partly out of view, the view changes suddenly. I don't like this behaviour. any ideas on how to change it?

© Stack Overflow or respective owner

Related posts about java

Related posts about jscrollpane