protected Font initializeDefaultFont ( ) { /* * Set the default font to Lucida Grande if available, else use Lucida * Sans Unicode. Grande is a later font and a bit nicer looking, but it * is a derivation of Sans Unicode, so they're compatible. */ if ( defaultFont == null ) { if ( PlatformUtils . isMac ( ) ) { defaultFont = new Font ( "Lucida Grande" , Font . PLAIN , 13 ) ; } if ( defaultFont == null ) { defaultFont = new Font ( "Dialog" , Font . PLAIN , 13 ) ; } if ( defaultFont == null ) { defaultFont = new Font ( "SansSerif" , Font . PLAIN , 13 ) ; } } return defaultFont ; }
Initialize the default font .