Hi Michelle,
>I don?t want the user to be able to just click on the cells and have them
>selected unless they are pressing "control" simultaneously. I implemented the
>DisplayListener class with my own class called CellDisplayListener. In
>CellDisplayListener.java, I check if it was a mouse click event and "CONTROL"
>held down in the code below:
>e.getId() == DisplayEvent.MOUSE_PRESSED && !e.isRemote()) { ....
>
>if (e.getModifiers() == InputEvent.CTRL_MASK) { //is it a ....
Try:
if (e.getInputEvent().getModifiers() | InputEvent.CTRL_MASK != 0) {
-Curtis