JCombo width in JTable
I am wondering if anyone has had this prooblem before.
I successfully created a JTable with a JCombo used as the editor for one of its columns. Everything OK but it seems I cannot control the width of the Combo box. The combo shows a bunch of infos that are actually wider than the data that is going to be stored in the table cell which is essentially an ID. Ideally I would like the combo box to be much wider than the table column but it seems its maximum width is set by the column width.
I tried to play with the combo minimum maximum and preferredSize properties but with no success.
Any suggestions ?
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center