/[classpath]/classpath/javax/swing/plaf/basic/BasicListUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicListUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26 by abalkiss, Fri Jul 22 16:45:07 2005 UTC revision 1.27 by abalkiss, Fri Jul 22 17:40:13 2005 UTC
# Line 850  public class BasicListUI extends ListUI Line 850  public class BasicListUI extends ListUI
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);

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26