Startup
This commit is contained in:
@@ -295,11 +295,11 @@ public class TestingList extends Panel {
|
||||
SwingUtils.showMessage(this, "", deviceName[0]);
|
||||
*/ if (System.getProperty("os.name").toLowerCase().contains("windows")) {
|
||||
String cmd;
|
||||
cmd = "notepad3.exe " + TESTS_LOG_DEFAULT_DIR;
|
||||
cmd = "notepad.exe " + TESTS_LOG_DEFAULT_DIR;
|
||||
try {
|
||||
Runtime.getRuntime().exec(cmd);
|
||||
} catch (IOException ex) {
|
||||
SwingUtils.showMessage(this, "", "jButtonOpenLogActionPerformed() "+ ex.toString() + " \nPlease open the file manually (file dir: "+TESTS_LOG_DEFAULT_DIR);
|
||||
SwingUtils.showMessage(this, "", "jButtonOpenLogActionPerformed() "+ ex.toString() + " \nPlease open the file manually. \nFile dir: "+TESTS_LOG_DEFAULT_DIR);
|
||||
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
} else {
|
||||
@@ -307,7 +307,7 @@ public class TestingList extends Panel {
|
||||
try {
|
||||
Desktop.getDesktop().edit(log);
|
||||
} catch (IOException ex) {
|
||||
SwingUtils.showMessage(this, "", "jButtonOpenLogActionPerformed() "+ ex.toString() + " \nPlease open the file manually (file dir: "+TESTS_LOG_DEFAULT_DIR);
|
||||
SwingUtils.showMessage(this, "", "jButtonOpenLogActionPerformed() "+ ex.toString() + " \nPlease open the file manually. \nFile dir: "+TESTS_LOG_DEFAULT_DIR);
|
||||
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user