such a awesome explanation !!! I really like the way you explained from zero to hero of this work.
@LaingRaven Жыл бұрын
Glad you hear that, and thank you 😊
@MondayisName Жыл бұрын
👏👏👏 cool ra ven
@LaingRaven Жыл бұрын
Thank you
@srijandada3015 Жыл бұрын
appreciated!
@LaingRaven Жыл бұрын
Thank you
@leandrocruz6621 Жыл бұрын
Perfect
@LaingRaven Жыл бұрын
Thank you
@jcrp79 Жыл бұрын
Wowww excelente
@LaingRaven Жыл бұрын
Thank you 😊
@lasotreph398 Жыл бұрын
Thank you
@LaingRaven Жыл бұрын
You're welcome 😊
@jamessylwester11 ай бұрын
How do I make more rows editable in this way? With the current code, I can only edit the qty row. I can't figure out how to include more rows.
@jorgegambini Жыл бұрын
First of all thanks for these master classes that you give us.I tell you that I tried to follow the steps of the JSpinner but using a JComboBox. I did quite well. The only thing I couldn't solve was the problem that every time I click on the cell of a combobox, the value changes to the value of the previously selected combobox (the same problem that appears when you override the getCellEditorValue method) Your solution to this in the JSpinner does not solve it in the JComboBox. Any suggestions? Sorry for the disturbances. Any help is appreciated.
@LaingRaven Жыл бұрын
If you use jcombobox no need to custom just use this code : table.getColumnModel().getColumn(colIndex).setCellEditor(new DefaultCellEditor(yourcombo)); But if you want to custom pls check this line : github.com/DJ-Raven/raven-java-swing-tutorial-project/blob/6255b900f8a70ea97222ff1506966746038cfb18/spinner-table-cell-editor/src/raven/table/QtyCellEditor.java#L45 for combobox you must use setSelectedItem or setSelectedIndex(index)
@jorgegambini Жыл бұрын
@@LaingRaven Thanks a lot. I was able to get it working now. Thanks to your fantastic videos I already got a table with an Image column, another column with JSpinner, another column with JComboBox, another column with JCheckBox and another column with View, Edit and Delete buttons. Once again, thank you very much and keep going with these videos that keep Java Swing alive
@jovensimonstarita5092Ай бұрын
how to apply this with sql??
@MondayisName Жыл бұрын
raven can you make a video about entering jtextfield and jbutton in one cell and how to retrieve their values.
@LaingRaven Жыл бұрын
I will check it for next
@MondayisName Жыл бұрын
okay thank you, I look forward to the video👍
@nancy-vu4bs8 ай бұрын
its not working for double values , can you tell me how to apply it for double values. i've tried to change from int to double in getTableCellEditorComponent but still gives me integer value after the edit in jTable
@LaingRaven8 ай бұрын
I has updated you can check this changed : github.com/DJ-Raven/raven-java-swing-tutorial-project/commit/6386fbb5f3df91e8d4a2ef26f736a01f53afeb9e