}
actionShowWindow.putValue( Action.NAME, name );
actionSave.setEnabled( !writeProtected && doc.isDirty() );
setDirty( doc.isDirty() );
final AudioFileInfoPalette infoBox = (AudioFileInfoPalette) app.getComponent( Main.COMP_AUDIOINFO );
if( infoBox != null ) infoBox.updateDocumentName( doc );
if( writeProtected && !wpHaveWarned && doc.isDirty() ) {
// MutableIcon warnIcon = new MutableIcon( 128 );
// warnIcon.setID( MutableIcon.WRITE_PROTECTED );
final JOptionPane op = new JOptionPane( getResourceString( "warnWriteProtected" ), JOptionPane.WARNING_MESSAGE );