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 - MouseWheel event isn't fired in Swing
Summary: MouseWheel event isn't fired in Swing
Status: RESOLVED FIXED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Others (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://stackoverflow.com/questions/37...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 07:22 EDT by yeray alonso
Modified: 2016-06-09 07:23 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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");
    }
  });