From: Stefan K. <ste...@eb...> - 2009-07-19 13:55:33
|
I will make individual patches on Monday. Please be patient till then. > What happens if the mouse is released outside the panel? Your changes If is popup trigger is set in mouseDown, I think this should not be a problem. > make things state dependent and I saw problems with this in the past > with Bioclipse... what was wrong with using event.isPopupEvent()? In windows, this return false during mouseDown, even if right button is pressed, it only has true during mouseUp, which is too late. This is the reason why the popup menu was totally ignored on windows. As I said, the solution is not too great and I am open to better ones. But leaving things as they were and having no popup menu on windows, is not an option, I believe. Stefan -- Stefan Kuhn B. Sc. M. A. Software Engineer in the Chemoinformatics and Metabolism Team European Bioinformatics Institute (EBI) Wellcome Trust Genome Campus Hinxton, Cambridge CB10 1SD UK Phone +44 1223 49 2657 Fax +44 (0)1223 494 468 |