I am working with the tutorial at:
http://www.netbeans.org/kb/articles/mysql.html
Is there someone able to assist me in learning how to add a search functionality to the
above tutorial?
right now I am deciding if I need to transform th code (below) to the
@Action,actionPerformed(),and class extending (@Action) Task.
public void deleteRecord() {
int[] selected = masterTable.addInputMethodListener;//getSelectedRows();
List<splashtemplateda.Content> toRemove = new ArrayList<splashtemplateda.Content>
(selected.length);
for (int idx = 0; idx < selected.length; idx++) {
splashtemplateda.Content c = list.get(masterTable.convertRowIndexToModel
(selected[idx]));
toRemove.add(c);
entityManager.remove(c);
}
list.removeAll(toRemove);
setSaveNeeded(true);
}