очистка отладочной печати. тоже кое-что накопилось.

This commit is contained in:
2025-01-29 14:08:57 +03:00
parent 8c9835f8fd
commit f5e411c827
15 changed files with 36 additions and 40 deletions

View File

@@ -364,17 +364,15 @@ public class Pass<T> {
form.fields.ProgressBar.setValue((data.length > 1) ? Integer.parseInt(data[1]) : 0);
break;
}
} else System.out.println(Utils_.Brackets(message));
}
}
public void ShowMessage1(String message) {
if (form != null)
form.fields.Label1.setText((message.length() > 1) ? message : "");
else System.out.println(Utils_.Brackets(message));
}
public void ShowMessage2(String message) {
if (form != null)
form.fields.Label2.setText((message.isEmpty() ? "" : message));
else System.out.println(Utils_.Brackets(message));
}
public void ShowProgress(int total, int current, boolean auto) {
if (form != null) {

View File

@@ -69,7 +69,6 @@ public class Utils_ {
public static JsonObject getPropertiesAsJsonObject() throws Exception {
File propertiesFile = new File(System.getProperty("user.dir"), "properties");
if (!propertiesFile.exists()) {
System.out.println("Файл properties не найден!");
return null;
}
String packed = FileUtils.readFileToString(propertiesFile, Charset.defaultCharset());