protected void paintEnabledText(JLabel l,Graphics g,String s,int textX,int textY){
  int mnemIndex=l.getDisplayedMnemonicIndex();
  g.setColor(l.getForeground());
  SwingUtilities2.drawStringUnderlineCharAt(l,g,s,mnemIndex,textX,textY);
}

protected void paintEnabledText ( JLabel l , Graphics g , String s , int textX , int textY ) { int mnemIndex = l . getDisplayedMnemonicIndex ( ) ; g . setColor ( l . getForeground ( ) ) ; SwingUtilities2 . drawStringUnderlineCharAt ( l , g , s , mnemIndex , textX , textY ) ; }
paint clippedtext at textx , texty with the labels foreground color .
