Click to See Complete Forum and Search --> : List Selection Model


Gregg
March 1st, 1999, 02:33 PM
I would like to implement a list box whose default behavior would

be as if the control key were always held down. That is, for every

element in the list, clicking on it would select or unselect that

element without affecting other items that have been selected.


Does anyone have any idea how I would go about doing this?

Paolo Milani
March 5th, 1999, 03:52 AM
With AWT, construct a List and call setMultipleMode(true) on the list object.