code: protected void paintDisabledText(JLabel pLabel, Graphics pG, String pStr, int pTextX, int pTextY) {
          Graphics2D g2 = (Graphics2D) pG;
  
          pG.setColor(Color.GRAY);
          g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
          pG.drawString(pStr, pTextX, pTextY);
          g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);
  
        /*FontMetrics fm = pG.getFontMetrics();
        Rectangle strrect = fm.getStringBounds(pStr, pG).getBounds();
        if(pLabel.getText().length() > 0)
        {
           pG.setColor(ResourceManager.getInstance().getNormalColor());
           pG.fillRect(pTextX + strrect.width + SPACE_INC, pTextY + strrect.y, 2, strrect.height);
        }*/
      }
docs: private static final int SPACE_INC = 12;