@ -374,7 +374,7 @@ public class BlenderTool {
}
}
final Frame mainWin = WindowManager . getDefault ( ) . getMainWindow ( ) ;
final Frame mainWin = WindowManager . getDefault ( ) . getMainWindow ( ) ;
assert ( mainWin ! = null ) ;
assert ( mainWin ! = null ) ;
mainWin . setState ( Frame . ICONIFIED ) ;
mainWin . setExtended State ( Frame . ICONIFIED ) ;
Runnable r = new Runnable ( ) {
Runnable r = new Runnable ( ) {
public void run ( ) {
public void run ( ) {
try {
try {
@ -399,15 +399,15 @@ public class BlenderTool {
}
}
} catch ( Exception ex ) {
} catch ( Exception ex ) {
Exceptions . printStackTrace ( ex ) ;
Exceptions . printStackTrace ( ex ) ;
successful . set ( false ) ;
} finally {
} finally {
blenderOpened . set ( false ) ;
blenderOpened . set ( false ) ;
java . awt . EventQueue . invokeLater ( new Runnable ( ) {
java . awt . EventQueue . invokeLater ( new Runnable ( ) {
public void run ( ) {
public void run ( ) {
mainWin . setState ( Frame . NORMAL ) ;
mainWin . setExtended State ( Frame . NORMAL ) ;
mainWin . requestFocus ( ) ;
mainWin . requestFocus ( ) ;
}
}
} ) ;
} ) ;
successful . set ( false ) ;
}
}
}
}
} ;
} ;