File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes JCombo model? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "JCombo model?" Watch "JCombo model?" New topic

JCombo model?

bru pe

Joined: Jan 23, 2002
Posts: 11
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...
Rajesh Matti
Ranch Hand

Joined: Jan 07, 2002
Posts: 121
Tablemodel has method setValueAt() to do that.
I agree. Here's the link:
subject: JCombo model?
It's not a secret anymore!