File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JCombo model?

 
bru pe
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Rajesh Matti
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tablemodel has method setValueAt() to do that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic