ChartComposite mouseClicked
ChartComposite mouseClicked
The ChartComposite has a ChartMousListener with chartMouseClicked as one of the methods. But the chartMouseClicked method is called when the mouse butoon is pressed. In my opinion that is not correct as the mouse is actually clicked when the mouse button is raised. Does anybody know why this anomaly ?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: ChartComposite mouseClicked
Most likely it worked for the person that originally wrote the ChartComposite class, and no-one else has submitted a patch to change it. I don't use SWT myself, so I didn't run into the issue. For the next JFreeChart release, I have moved the SWT support classes into a separate project, it is on GitHub so if you want to propose a change feel free to submit a pull request:
https://github.com/jfree/jfreechart-swt
https://github.com/jfree/jfreechart-swt
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program