question: 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 ) ; }
target:  Paint clippedText at textX, textY with the labels foreground color.