Hi Audrius, There is another problem with your implementation. You change the public MouseInputHandler class to implement MouseWheelListener, which breaks binary compatibility (at least the reverse). So either we do it in a separate inner class, or better (as said in my previous mail) generic in the JScrollPane, which sounds much more sensible to me.
/Roman Am Sonntag, den 19.03.2006, 14:11 +0100 schrieb Audrius Meskauskas: > This patch allows to scroll JTable with the mouse wheel, three rows per > wheel click, like in Sun's application. > > 2006-03-19 Audrius Meskauskas <[EMAIL PROTECTED]> > > * javax/swing/plaf/basic/BasicTableUI.java: > Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK): > New field. MouseInputHandler.mouseWheelMoved): New method. > (installListeners): Register MouseInputHandler as > wheel listener also. -- “Improvement makes straight roads, but the crooked roads, without Improvement, are roads of Genius.” - William Blake
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
