This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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?
jQuery in Action, 3rd edition