SCJP 5, OCPJP 7, 8, SCJD 5, SCWCD 4, SCBCD 5, SCJWS 4, IBM OOAD 833 & 834, MongoDB Developer
SCJP 5, OCPJP 7, 8, SCJD 5, SCWCD 4, SCBCD 5, SCJWS 4, IBM OOAD 833 & 834, MongoDB Developer
SCJP 5, OCPJP 7, 8, SCJD 5, SCWCD 4, SCBCD 5, SCJWS 4, IBM OOAD 833 & 834, MongoDB Developer
Prasad Saya wrote:What is the data type of the Concept column?
What is the cell renderer used for? Is it used for the concept column?
SCJP 5, OCPJP 7, 8, SCJD 5, SCWCD 4, SCBCD 5, SCJWS 4, IBM OOAD 833 & 834, MongoDB Developer
Prasad Saya wrote:What is the cell renderer used for?
What is the purpose or functionality (for example, once I had used the cell renderer to make a new background color for a particular table column cell)?
SCJP 5, OCPJP 7, 8, SCJD 5, SCWCD 4, SCBCD 5, SCJWS 4, IBM OOAD 833 & 834, MongoDB Developer
Prasad Saya wrote:Is the cell renderer for this column just to show the tooltip?
SCJP 5, OCPJP 7, 8, SCJD 5, SCWCD 4, SCBCD 5, SCJWS 4, IBM OOAD 833 & 834, MongoDB Developer
Prasad Saya wrote:Since a custom renderer is used to render the cells one has to use javax.swing.table.TableRowSorter and then set a custom java.util.Comparator for sorting. Here is the Oracle's Swing tutorial for that: https://docs.oracle.com/javase/tutorial/uiswing/components/table.html#sorting
Don't get me started about those stupid light bulbs. |