{
protected ActionInsertRec() { /* empty */ }
public void actionPerformed( ActionEvent e )
{
final RecorderDialog recDlg;
final File recFile;
final Session tmpDoc;
final ClipboardTrackList tl;
final ProcessingThread pt;
final Session targetDoc;
final AudioFileDescr afd, afd2;
try {
recDlg = new RecorderDialog( doc );
}
catch( IOException e1 ) {
BasicWindowHandler.showErrorDialog( getWindow(), e1, getValue( NAME ).toString() );
return;
}
recFile = recDlg.getResult();
if( recFile != null ) {
try {
// if( true ) throw new IOException( "test" );
tmpDoc = Session.newFrom( recFile, false, false );