public class EnableOnListSelect
extends java.lang.Object
implements javax.swing.event.ListSelectionListener
Constructor and Description |
---|
EnableOnListSelect(javax.swing.JComponent comp)
Create a listener to enable or disable the associated JComponent when the list is
selected or unselected.
|
Modifier and Type | Method and Description |
---|---|
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
Called whenever the value of the selection changes.
|