• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JCombo model?

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1)-Does the JTable be updated each time a request is done?
-if Yes,does the combo box be updated too , each time a request is done?
-if yes,do I need to create a comboBoxModel class to fill the combo boxes? I think it can be usefull to add easily the "ANY" element and to easily update this boxes.
-if no ,should I update this boxes from the JTableModel(I update both the boxes and the Jtable with the same method when a booking request is done)

2)I didn't find any method providing a ROW update in the JtableModel.Should I create my own and call this method from the cellupdate() already provided?
Thanks for the answer...
Bruno
 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tablemodel has method setValueAt() to do that.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic