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:
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
2009-11-24 08:23:11
This is not an editable list, but an example how to use 1-column JTable.
Domchi
2010-06-05 16:07:19