iter = getIterator("klnoprst", putSegmentAttribute(map, Color.BLACK));
ime = getTextEvent(iter, 5, TextHitInfo.afterOffset(0), TextHitInfo.afterOffset(0));
jta.processInputMethodEvent(ime);
pos = 12;
rect = jta.modelToView(pos);
rect.translate(location.x, location.y);
for (int i = 0; i < 10; i++) {
assertEquals(rect, imr.getTextLocation(TextHitInfo.beforeOffset(i)));
assertEquals(rect, imr.getTextLocation(TextHitInfo.afterOffset(i)));
}
} catch (BadLocationException e) {