On Jul 21, 2005, at 7:58 PM, Miguel wrote:

Here is some source code and object code to test mouse events.

Runs on any system with java 1.4 or greater

You can run it by saying.

Download it to some directory
bring up a terminal
go to that directory and type the command:
 java ShiftButtonBug

OK, I did this and ShiftButtonBug is running in Terminal.

I followed these directions that were displayed by ShiftButtonBug in Terminal's window:

do a Shift Right-click
and see that Button1 is also being returned.
And when you release the mouse state says that Button1
is still pressed

Here is the output I got in the Terminal window:

 e.getButton() says button 3
5184 -> Shift+Button1+Button3

e.getButton() says button 3
1088 -> Shift+Button1

Now, 2 questions:

1. Do I repeat this process with the keystoke combos we are interested in for slabbing, and send the results (output) to you as above?

2. Can you help me with quitting ShiftButtonBug, since when I followed the instruction:
To exit give the focus to your terminal window and press ^C

nothing happened except
^C
appeared in the terminal window...

Frieda




Frieda Reichsman, PhD
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to