• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

JTable and JCombox as the cell editor

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JTable and JComboBox
Author: sandsouza Apr 29, 2004 10:43 AM

Hi,
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 ,
sandsouza
 
Every snowflake is perfect and unique. And every snowflake contains a very tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic