From 3681e14285488ed94deefcd140273031f6776b61 Mon Sep 17 00:00:00 2001 From: Thomas Bayen Date: Sun, 20 Jan 2013 14:44:21 +0100 Subject: [PATCH] IDEMPIERE-572 - scroll wheel works in very small steps in Swing Client --- org.adempiere.ui.swing/src/org/compiere/grid/GridController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.adempiere.ui.swing/src/org/compiere/grid/GridController.java b/org.adempiere.ui.swing/src/org/compiere/grid/GridController.java index 626c3a7a31..fa3a3e9b73 100644 --- a/org.adempiere.ui.swing/src/org/compiere/grid/GridController.java +++ b/org.adempiere.ui.swing/src/org/compiere/grid/GridController.java @@ -370,6 +370,7 @@ public class GridController extends CPanel { vPanel.setBorder(BorderFactory.createLineBorder(AdempierePLAF.getPrimary2())); } + vPane.getVerticalScrollBar().setUnitIncrement(16); // IDEMPIERE-572 - tbayen 2013-01-20 vPane.getViewport().add(xPanel, null); xPanel.add(vPanel, BorderLayout.CENTER);