posted 18 years ago
Hi,
I'm looking for opinions regarding the different approaches I explain below. Technical opinions are welcome but i'm particuarly looking for HCI opinions.
I have a JTable which displays information from an ArrayList of Objects.
I need to have a few options which edit the contents of these table, remove row, add row, modify row.
I have been experimenting with a few options and have narrowed it down to the following:
Popup Menu with remove/modify options, activated by right clicking on the table and the "highlighted" row will be the row altered. Add row would probably need to be implemented outside of the popup menu.Three buttons below table, whichever row is selected when the remove/modify button is clicked is altered.Buttons appear within the table rows, a new column is added which holds buttons. A little repetitive though if a large number of rows exists.
I'd appreciate some advice/opinions.
Thank-you.