Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1555

Summary: MouseWheel event isn't fired in Swing
Product: Java TeeChart Reporter: yeray alonso <yeray>
Component: OthersAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://stackoverflow.com/questions/37657749/mouse-wheel-moved-not-fired-in-teechart
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2016-06-09 07:22:13 EDT
This event is fired in SWT:

  tChart1.addMouseWheelListener(new MouseWheelListener() {
			
    @Override
    public void mouseScrolled(MouseEvent arg0) {
      System.out.println("mouseScrolled worked");
    }
  });

However, this event isn't fired in Swing:

  tChart1.addMouseWheelListener(new MouseWheelListener() {

    @Override
    public void mouseWheelMoved(MouseWheelEvent e) {
      System.out.println("mouseWheelMoved worked");
    }
  });