• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

JTable - URGENT !!!!  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I am trying to set a JComboBox in a Table cell using setDefaultCellEditor and it is setting too but the JComboBox is not visible when i add a row, but once clicks on that cell it becomes visible.
Can anybody help in telling how to make that visible.
I am using the folloeing code:
TableColumn.setCellEditor(new DefaultTableCellEditor(JComboBox));
do i require to set some other properties of this combobox. this is a non-editable combobox.
i need on more help : i have added three text feilds to a pannel, now i wish to add that pannel to a table cell. is there any way to do it as DefaultTableCellEditor()constructor allows only JTextFeilds,JcheckBox.
please help me as soon as possible.
Thanks
Nidhi Madan
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!