I don't think you can make the cell editable as you can in a JTable.

One way around this is to have a JTable with one column.

The other way is to have a Mouse Listener and in that if clicked on a
particular item then pop up a JOptionPane.showInputDialog(....) and there if
the user enters some value then change that in the list Model. Will involve
some bit of programing and is not just a simple API call.

Thanks and Regards,
Gary Grewal

-----Original Message-----
From: Jaime Yeckle
To: Help Java
Sent: 12/11/2001 2:03 PM
Subject: JList editable

Hello:
 
How make a JList editable every cell???
 
Thanks!!!!!!
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to