• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

JTable - URGENT !!!!

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic