B
B Young
On Win32 and Linux, control and shift used with a mouse click allows
multi-select behaviour in native apps.
On a Mac, shift does the same thing as the other two platforms.
However, the command key replaces the control key behaviour. How can
I get this from the Java API w/o having to hard code this?
BTW, I know about getMenuShortcutKeyMask but I can find no Toolkit
method to get the multi-select masks. I did notice that JTable
internally handles this stuff correctly, but I'm not sure where in the
JTable source the selection stuff is handled.
Thanks
multi-select behaviour in native apps.
On a Mac, shift does the same thing as the other two platforms.
However, the command key replaces the control key behaviour. How can
I get this from the Java API w/o having to hard code this?
BTW, I know about getMenuShortcutKeyMask but I can find no Toolkit
method to get the multi-select masks. I did notice that JTable
internally handles this stuff correctly, but I'm not sure where in the
JTable source the selection stuff is handled.
Thanks