Java GUI jTable: Insert link to remove its row from table
I would like add a link in my jTable. This jTable has soms cells filled with a persons firstname, and lastname. In the 3th cell i need this link to remove the person from this table. Is this possible?
For now i have something like this:
for(int i = 0; i < persons.size(); i++)
{
Person person = persons.get(i);
jTabelRoster.setValueAt(lid.getPersonFirstname(), i, 0);
jTabelRoster.setValueAt(lid.getPersonLastname(), i, 1);
}
on the 3th horizontal position i want this link :)
Is this possible?
I would like add a link in my jTable. This jTable has soms cells filled with a persons firstname, and lastname. In the 3th cell i need this link to remove the person from this table. Is this possible?
For now i have something like this:
for(int i = 0; i < persons.size(); i++)
{
Person person = persons.get(i);
jTabelRoster.setValueAt(lid.getPersonFirstname(), i, 0);
jTabelRoster.setValueAt(lid.getPersonLastname(), i, 1);
}
on the 3th horizontal position i want this link :)
Is this possible?
No comments:
Post a Comment