Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>1) create <a href="http://download.oracle.com/javase/tutorial/uiswing/components/table.html" rel="nofollow noreferrer">JTable</a>, <a href="http://download.oracle.com/javase/tutorial/uiswing/components/table.html#data" rel="nofollow noreferrer">TableModel</a>, <a href="http://download.oracle.com/javase/tutorial/uiswing/components/combobox.html" rel="nofollow noreferrer">JComboBox</a>, then put that together as <a href="http://download.oracle.com/javase/tutorial/uiswing/components/table.html#combobox" rel="nofollow noreferrer">example</a> from official tutorial</p> <p>2) for Boolean Component isn't required create own <a href="http://download.oracle.com/javase/tutorial/uiswing/components/table.html#editor" rel="nofollow noreferrer">TableCellEditor</a>, JTable by default supporting String, Integer, Double, Boolean, Date and <a href="http://download.oracle.com/javase/tutorial/uiswing/components/icon.html" rel="nofollow noreferrer">Icon/ImageIcont</a> in the TableCell</p> <p>another examples for a.m.... <a href="http://www.java2s.com/Code/Java/Swing-JFC/CatalogSwing-JFC.htm" rel="nofollow noreferrer">here</a>, <a href="http://www.exampledepot.com/egs/javax.swing.table/pkg.html" rel="nofollow noreferrer">here</a> from this forum <a href="https://stackoverflow.com/questions/7183503/how-would-i-go-about-changing-the-boolean-string-to-a-jcheckbox-in-jtable/7183748#7183748">here</a>, <a href="https://stackoverflow.com/questions/6946205/how-to-get-values-of-other-cell-if-checkbox-is-selected-of-the-correcponding-chec/6948744#6948744">here</a>, and <a href="https://stackoverflow.com/questions/7132400/jtable-row-hightlighter-based-on-value-from-tablecell">here</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload