void (Graphics g) { if (myCurrentItemCategory == this && myCurrentItemIndex != -1) { int x = xGridToVisible(myCurrentItemIndex % myItemsPerRow); int y = yGridToVisible(myCurrentItemIndex / myItemsPerRow); g.setColor(myStyle.myHoverBackgroundColor); RectanglePainter2D.FILL.paint((Graphics2D)g, x, y, myCellSize.width, myCellSize.height, 6.0); } }