JSpinner « JTable « Java Swing Q&A





1. Help please jtable value to jspinner    stackoverflow.com

problem is can't get the value displayed from jtable to jspinner. here is my jtablemouseclickedeven

private void jTable1MouseClicked(java.awt.event.MouseEvent evt) {
if(evt.getClickCount()==1){
    jLabel5.setText(jTable1.getValueAt(jTable1.getSelectedRow(), 0).toString());
    jTextField4.setText(jTable1.getValueAt(jTable1.getSelectedRow(), 1).toString());
   ...

2. Jtable Jspinner help    java-forums.org

Hi friends, I am working on small payroll project, where i need to implement Jtable having 6 columns for daily attendance . columns are i) employeeID, ii) Name iii) Present (yes/no--- combobox) iv) In time v) out time vi) OT hours (combobox).. Now I need to have Jspinner with TimeFormatter so the employee can select in and out time. I tried ...