850 |
boolean hasFocus = (list.getLeadSelectionIndex() == row) && BasicListUI.this.list.hasFocus(); |
boolean hasFocus = (list.getLeadSelectionIndex() == row) && BasicListUI.this.list.hasFocus(); |
851 |
Component comp = rend.getListCellRendererComponent(list, |
Component comp = rend.getListCellRendererComponent(list, |
852 |
data.getElementAt(row), |
data.getElementAt(row), |
853 |
0, is_Sel, hasFocus); |
0, isSel, hasFocus); |
854 |
//comp.setBounds(new Rectangle(0, 0, bounds.width, bounds.height)); |
//comp.setBounds(new Rectangle(0, 0, bounds.width, bounds.height)); |
855 |
//comp.paint(g); |
//comp.paint(g); |
856 |
rendererPane.paintComponent(g, comp, list, bounds); |
rendererPane.paintComponent(g, comp, list, bounds); |