Sped up mousewheel scroll speed in custom scroll area on WinLoseFrame.

This commit is contained in:
Doublestrike
2011-10-10 03:16:20 +00:00
parent 6d46465225
commit 92157a7dc6

View File

@@ -103,6 +103,7 @@ public class WinLoseFrame extends JFrame {
// Custom display panel in center; populated later by mode handler. // Custom display panel in center; populated later by mode handler.
JScrollPane scroller = new JScrollPane(); JScrollPane scroller = new JScrollPane();
scroller.getVerticalScrollBar().setUnitIncrement(16);
pnlCustom = new JPanel(new MigLayout("wrap, fillx")); pnlCustom = new JPanel(new MigLayout("wrap, fillx"));
pnlCustom.setBackground(new Color(111,87,59)); pnlCustom.setBackground(new Color(111,87,59));
pnlCustom.setForeground(Color.white); pnlCustom.setForeground(Color.white);