tags:

views:

63

answers:

3

I'm using NetBeans and I want to make my list editable,what should I do ?/ also I work with NetBeans GUI builder.

+1  A: 

Use a 1-column JTable instead.

ammoQ
+1  A: 

You can find the source code for an editable list here:

http://www.java2s.com/Code/Java/Swing-Components/EditableListExample.htm

Depending on your use case an JComboBox, which is editable, might be a better solution than a JList.

alexander.egger
This is not an editable list, but an example how to use 1-column JTable.
Domchi
+1  A: 

List Editor

camickr