I naïvely thought that I would be able to use Java as a cross-platform
development environment. But it seems that even there, operating systems
can interfere?
I am specifically running into a problem where on the Macintosh, holding
the Control key down suppresses the mouseDragged event. I receive a
mousePressed, but then even when the mouse button is held down while the
mouse is moved, I only get a mouseMoved event, rather than a mouseDragged
event.
I _think_ this is because the Mac uses a mouse click with the Control key
down as a signal for some applications to display a context menu. But I'm
not sure if this is happening at the OS level, or if this is something
that Apple's Java runtime implementation is doing. If the latter, I'm
curious as to whether there's a Java program setting somewhere I can use
that will disable it and allow for generic handling of a mouse click
+ control key event.
I realize the number of people actually testing on the Mac is probably
relatively small. I also realize that because Apple's implemented their
own Java runtime, Java on the Mac has a sort of second-class, poor
stepchild status. But I remain hopeful that someone in this newsgroup may
have some insight to share anyway.
There are obvious workarounds and I can deal with that if I have to. But
I'd like to better understand the details of this issue, if they are to be
had.
Thanks,
Pete