Dear all,
How do I disable all columns cell and select row value to put in textbox using Netbeans ?
I have searched using google but not found any significant answer.
Thanks and regards,
Kusno.
Dear all,
How do I disable all columns cell and select row value to put in textbox using Netbeans ?
I have searched using google but not found any significant answer.
Thanks and regards,
Kusno.
I doubt you want to disable the cells but rather make them uneditable. Example here:
http://exampledepot.com/egs/javax.swing.table/NoEdit.html
For the row selection, see these:
http://exampledepot.com/egs/javax.swing.table/GetSel.html
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#selection
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.