question: protected void paintDisabledText ( final JLabel l , final Graphics g , final String s , final int textX , final int textY ) { int accChar = l . getDisplayedMnemonicIndex ( ) ; if ( AquaMnemonicHandler . isMnemonicHidden ( ) ) { accChar = - 1 ; } final Color background = l . getBackground ( ) ; if ( background instanceof UIResource ) { g . setColor ( getDisabledLabelColor ( l ) ) ; SwingUtilities2 . drawStringUnderlineCharAt ( l , g , s , accChar , textX , textY ) ; } else { super . paintDisabledText ( l , g , s , textX , textY ) ; } }
target:  Paint clippedText at textX, textY with background.lighter() and then shifted down and to the right by one pixel with background.darker().