if (partType == -1){
if (partType == -1 || forceDraw){
    private void drawPart(boolean forceDraw, boolean isMainList, Graphics graphics, int pixelSize, int partType,                          int zeilenHoehe, long currentFrom, long nextFrom){        int obenLinks = 0;        int breite = 0;        if (isMainList){            if (partType == -1 && !forceDraw) {                if (fertigSeit != -1) {                    return;                }                else {                    fertigSeit = currentFrom;                }            }            else {                if (fertigSeit != -1) {                    obenLinks = (int) (fertigSeit / pixelSize);                    int mbCount = (int) (currentFrom - fertigSeit) /                        1048576;                    breite = mbCount * 1048576 / pixelSize;                    graphics.setColor(PartListDO.COLOR_TYPE_UEBERPRUEFT);                    graphics.fillRect(obenLinks, 0, breite, zeilenHoehe);                    obenLinks += breite;                    breite = (int) (currentFrom / pixelSize) -                        obenLinks;                    if (partType == -1){                        graphics.setColor(PartListDO.COLOR_TYPE_UEBERPRUEFT);                    }                    else{                        graphics.setColor(PartListDO.COLOR_TYPE_OK);                    }                    graphics.fillRect(obenLinks, 0, breite, zeilenHoehe);                    obenLinks = (int) currentFrom / pixelSize;                    breite = (int) (nextFrom / pixelSize) -                        obenLinks;                    graphics.setColor(getColorByType(partType));                    graphics.fillRect(obenLinks, 0, breite, zeilenHoehe);                    fertigSeit = -1;                }                else {                    obenLinks = (int) (currentFrom / pixelSize);                    breite = (int) (nextFrom / pixelSize) -                        obenLinks;                    graphics.setColor(getColorByType(partType));                    graphics.fillRect(obenLinks, 0, breite, zeilenHoehe);                }            }        }        else{            obenLinks = (int)(currentFrom / pixelSize);            breite = (int)(nextFrom / pixelSize) - obenLinks;            graphics.setColor(getColorByType(partType));            graphics.fillRect(obenLinks, 0, breite, zeilenHoehe);        }    }