void (Graphics g) { super.paintComponent(g); if (!StringUtil.isEmpty(getText())) { Rectangle r = getBounds(); Insets i = getInsets(); int x = r.width - i.right - AllIcons.General.ArrowDown.getIconWidth(); int y = i.top + (r.height - i.top - i.bottom - AllIcons.General.ArrowDown.getIconHeight()) / 2; AllIcons.General.ArrowDown.paintIcon(this, g, x, y); } }