mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-21 22:52:22 +00:00
options to modify scroller focus
Needed to stop focus of scroller when other components need to use some of the key strokes which would normally be consumed by the scroller.
This commit is contained in:
parent
71bbc8d33c
commit
232ed44b96
@ -39,6 +39,7 @@ public class PamScrollSlider extends AbstractPamScrollerAWT {
|
||||
panel.add(BorderLayout.CENTER, slider);
|
||||
panel.add(BorderLayout.SOUTH, getButtonPanel());
|
||||
}
|
||||
// slider.setFocusable(false);
|
||||
}
|
||||
|
||||
class SliderListener implements ChangeListener {
|
||||
@ -180,5 +181,11 @@ public class PamScrollSlider extends AbstractPamScrollerAWT {
|
||||
// TODO Auto-generated method stub
|
||||
super.setPageStep(pageStep);
|
||||
}
|
||||
/**
|
||||
* @return the slider
|
||||
*/
|
||||
public JSlider getSlider() {
|
||||
return slider;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user