JComboBox in JTable
1 posts in topic
Flat View  Flat View

Posted By:   Ajay_Manchanda
Posted On:   Tuesday, November 13, 2001 07:18 AM

I have JComboBox as one of the table cell editors. I want the functionality where user types in the first letter and it selects the item. If the user types in the same letter again, it selects the next item matching the letter.

For example in the states dropdown if user types in 'C' three times, it should select Connecticut.

This functionality works if I have JComboBox in a JDialog but doesn't work if it is the cell editor of a JTable.

Re: JComboBox in JTable

Posted By:   shailender_jain  
Posted On:   Monday, March 18, 2002 07:52 AM

Ajay can you post the code as how to do it for JDialog
About | Sitemap | Contact