private void repaintKeyItem() { if (myKeyItemBounds != null) { myComponent.repaint(myKeyItemBounds); } }