更改黑莓 ListField 的突出显示(焦点)颜色的最佳方法是什么,我使用了 drawFocus 方法,它确实突出显示了一些东西,但它的性能太慢了,无法继续
drawlistrow 中的代码
Item item = (Item)this.listData.elementAt(this.getSelectedIndex());
g.drawText (item.getItemNumber(), 2, y, Graphics.LEFT,20);
g.drawText (item.getDescription(), 25, y, Graphics.LEFT,30);
g.drawText (item.getItemType(), 60, y, Graphics.LEFT,15);
g.setColor(0xC4C3C4);
g.drawLine(2, y, 2, 115);