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 ?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL