instance.dispose();
}
- } catch (Exception e) {
+ } catch (Throwable e) {
e.printStackTrace();
-
if (EMLogger.getLogger() != null) {
EMLogger.getLogger().log(Level.WARNING, e.getMessage());
}
}
private static void makeDialog() {
- dialog = new Shell(EmulatorManager.getInstance().getMainDialog().getShell(), SWT.DIALOG_TRIM);
+ dialog = new Shell(EmulatorManager.getInstance().getMainDialog().getShell(),
+ SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);
dialog.setText("About Emulator Manager");
dialog.setSize(width, height);
dialog.setLayout(getGridLayout(1, false));
public void widgetSelected(SelectionEvent arg0) {
try {
org.eclipse.swt.program.Program.launch(EmulatorVMs.getInstance().getVMsBaseDirectory());
- } catch (Exception e) {
+ } catch (Throwable e) {
return;
}
}
public void widgetSelected(SelectionEvent arg0) {
try {
org.eclipse.swt.program.Program.launch("https://developer.tizen.org");
- } catch (Exception e) {
+ } catch (Throwable e) {
return;
}
}