question: public void selectMediaType ( NamedMediaType type ) { JToggleButton mediaTypeButton = buttonsMap . get ( type ) ; if ( mediaTypeButton != null ) { mediaTypeButton . doClick ( ) ; } }
target:  Use this if you want to programmatically change the current file type being displayed for a search.