• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

JTable - URGENT !!!!

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.
Nidhi Madan
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic