Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable and JCombox as the cell editor

Sandeep DSouza
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JTable and JComboBox
Author: sandsouza Apr 29, 2004 10:43 AM

I have a JTable with a JCombox as the editor for a couple of columns ... The JComboxes are editable comboboxes.
I am having two issues with this . would really appriciate if somebody could help me with this one
1. When the user types any letter .. the option starting with that letter should show up in the column .. just like the way a noneditable comboBox works.
2. When the user selects any option from the comboBox ... the table stops editing.. basically goes out of edit mode... I think its something to do with the action performed
for the combobox.. but I am not sure what exactly needs to be done ..
Can someone help me with this one .
Thanks ,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic