This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hello, I have a JTable with 5 columns: Cols 2-5 are dynamic comboboxes, each dependent on the previously selected item. The code below works beautifully when there is only one row, but when I add another row, all comboboxes empty when the user tries to select a value. Can someone please help me figure this out? My code:
[ February 21, 2003: Message edited by: Nicholas Rogers ] [ February 21, 2003: Message edited by: Nicholas Rogers ] [ February 21, 2003: Message edited by: Nicholas Rogers ] [ February 21, 2003: Message edited by: Nicholas Rogers ] [ February 21, 2003: Message edited by: Nicholas Rogers ] [ February 21, 2003: Message edited by: Nicholas Rogers ]
Nicholas Rogers
Greenhorn
Joined: Feb 21, 2003
Posts: 2
posted
0
I've limited this to the combobox renderer. If I comment out the lines that set the renderer to the column, adding new rows works, but I'd like the renderer to be a combobox instead of the standard textfield. Any help?