currentColor = Color.gray;\r
currentTextColor = Color.black;\r
}\r
- } else if (da.getSequenceAt(i).getColor() != null)\r
+ }\r
+ else if (da.getSequenceAt(i).getColor() != null)\r
{\r
- currentColor = Color.white;\r
- /* Color newcol = da.getSequenceAt(i).getColor();\r
- if (newcol != currentColor) {\r
- currentColor = newcol;\r
- if (newcol == Color.black) {\r
- currentTextColor = Color.white;\r
- } else {\r
- currentTextColor = Color.black;\r
- }\r
- }*/\r
+ currentColor = da.getSequenceAt(i).getColor();\r
+ currentTextColor = Color.black;\r
}\r
\r
gg.setColor(currentColor);\r
\r
- if (currentColor != Color.white) {\r
+ if (currentColor != Color.BLACK)\r
+ {\r
gg.fillRect(0,\r
AlignmentUtil.getPixelHeight(starty,i,charHeight),\r
getWidth(),\r