package com.efiAnalytics.ui;

import java.awt.Component;
import java.awt.Graphics;
import javax.swing.DefaultListCellRenderer;
import javax.swing.JList;

class ColoredListCellRenderer extends DefaultListCellRenderer {
  boolean a = false;
  
  ColoredListCellRenderer(de paramde) {}
  
  public void paint(Graphics paramGraphics) {
    super.paint(paramGraphics);
    if (this.b.b != null && this.a) {
      int i = eJ.a(9);
      int j = eJ.a(12);
      int k = getWidth() - j;
      int m = (getHeight() - i) / 2;
      paramGraphics.setColor(this.b.b);
      paramGraphics.fillRect(k, m, i, i);
    } 
  }
  
  public Component getListCellRendererComponent(JList paramJList, Object paramObject, int paramInt, boolean paramBoolean1, boolean paramBoolean2) {
    // Byte code:
    //   0: aload_1
    //   1: invokevirtual getDropLocation : ()Ljavax/swing/JList$DropLocation;
    //   4: astore #6
    //   6: aload #6
    //   8: ifnull -> 28
    //   11: aload #6
    //   13: invokevirtual isInsert : ()Z
    //   16: ifne -> 28
    //   19: aload #6
    //   21: invokevirtual getIndex : ()I
    //   24: iload_3
    //   25: if_icmpne -> 28
    //   28: aload_0
    //   29: iload_3
    //   30: ifge -> 37
    //   33: iconst_1
    //   34: goto -> 38
    //   37: iconst_0
    //   38: putfield a : Z
    //   41: aload_0
    //   42: aload_1
    //   43: aload_2
    //   44: iload_3
    //   45: iload #4
    //   47: iload #5
    //   49: invokespecial getListCellRendererComponent : (Ljavax/swing/JList;Ljava/lang/Object;IZZ)Ljava/awt/Component;
    //   52: areturn
  }
}


/* Location:              /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/ui/dj.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */