// } public void drawCursor(Graphics g, int width, int height) { int x = xCursor * imgWidth; g.setColor(ColorScheme.LIST_BGND); g.fillRect(0, 0, width, height); g.translate(x, 0); super.drawCursor(g, imgWidth, lineHeight); g.translate(-x, 0); }
protected void drawBalloon(final Graphics g, int balloon, final String text) { if (cursor == 0) balloon += lineHeight + Balloon.getHeight(); int x = xCursor * imgWidth; g.translate(x, balloon); Balloon.draw(g, text); }