question: private void configureMessageLabel ( JLabel label ) { Color color = ( Color ) DefaultLookup . get ( optionPane , this , "OptionPane.messageForeground" ) ; if ( color != null ) { label . setForeground ( color ) ; } Font messageFont = ( Font ) DefaultLookup . get ( optionPane , this , "OptionPane.messageFont" ) ; if ( messageFont != null ) { label . setFont ( messageFont ) ; } }
target:  Configures any necessary colors/fonts for the specified label used representing the message.