I right-clicked JTable and pasted some code into the "mail listener code" in a terrible kludge.
I do not see the possibility to add
table.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
public void valueChanged(ListSelectionEvent evt) {
to "events" in the design view for JTable. I am sure there is a way to add valueChanged (ListSelectionEvent evt) from the project view, but how?
maybe this is a bug ?
Row selection change events are created using the ListSelectionModel JTable, not the JTable itself - so the event cannot be represented in the Component Inspector (as a JTable event). The processing of this event must be done manually, for example. as:
jTable1.getSelectionModel().addListSelectionListener(
new javax.swing.event.ListSelectionListener() {
public void valueChanged(ListSelectionEvent evt) {
customRowSelectionEventHandler(evt);
}
}
);
, ListSelectionModel JTable "", "" ?