no message
This commit is contained in:
@@ -25,6 +25,9 @@ public class Constants {
|
||||
public final static String time_file = "total_time";
|
||||
//-служебные разделы проекта.
|
||||
public static final String data = "visualiser_data";
|
||||
public static final String MailAddress = "sapfor.tracker@internet.ru";
|
||||
// public static final String MailPassword = "3s4w9e5fs3c1a89AA"; основной пароль.
|
||||
public static final String MailPassword = "knKn2PpfrC348ZxHtMnT"; //пароль для сапфора как внешнего приложения.
|
||||
//--
|
||||
//https://losst.ru/komandy-terminala-linux
|
||||
public static String[] linux_system_commands = new String[]{
|
||||
|
||||
@@ -34,9 +34,6 @@ public class Global {
|
||||
//0 2 2,15 * * reboot &>/var/log/reboot.log
|
||||
//https://unix.stackexchange.com/questions/117148/how-can-i-run-reboot-as-a-normal-user-without-needing-to-enter-a-password
|
||||
public static final String ServerAddress = "alex-freenas.ddns.net";
|
||||
public static final String MailAddress = "sapfor.tracker@internet.ru";
|
||||
// public static final String MailPassword = "3s4w9e5fs3c1a89AA"; основной пароль.
|
||||
public static final String MailPassword = "knKn2PpfrC348ZxHtMnT"; //пароль для сапфора как внешнего приложения.
|
||||
public static final String dateNaN = "NaN";
|
||||
//--------------------------------------------------
|
||||
//текущая папка системы. в отличие от шарпа никогда не должна меняться.
|
||||
|
||||
@@ -13,8 +13,23 @@ import java.awt.*;
|
||||
public class TestingBar extends VisualiserMenuBar {
|
||||
JButton autorefreshButton;
|
||||
JSpinner sCheckTime;
|
||||
JSpinner sKernels;
|
||||
public TestingBar() {
|
||||
addPasses(PassCode_2021.SynchronizeTestsTasks);
|
||||
//--
|
||||
add(new JLabel(" ядер ") {
|
||||
{
|
||||
setFont(Current.getTheme().Fonts.get(VisualiserFonts.TreeItalic));
|
||||
}
|
||||
});
|
||||
add(sKernels = new JSpinner());
|
||||
sKernels.setPreferredSize(new Dimension(60, 26));
|
||||
sKernels.setMaximumSize(new Dimension(60, 26));
|
||||
sKernels.setModel(new SpinnerNumberModel(TestingServer.kernels, 1, 16, 1));
|
||||
UI.MakeSpinnerRapid(sKernels, e -> {
|
||||
TestingServer.kernels = (int) sKernels.getValue();
|
||||
});
|
||||
//--
|
||||
add(autorefreshButton = new MenuBarButton() {
|
||||
{
|
||||
setText("проверка раз в");
|
||||
@@ -30,6 +45,7 @@ public class TestingBar extends VisualiserMenuBar {
|
||||
setIcon(Utils.getIcon(TestingServer.checkTasks ? "/icons/Pick.png" : "/icons/NotPick.png"));
|
||||
}
|
||||
});
|
||||
//--
|
||||
add(sCheckTime = new JSpinner());
|
||||
sCheckTime.setPreferredSize(new Dimension(60, 26));
|
||||
sCheckTime.setMaximumSize(new Dimension(60, 26));
|
||||
@@ -38,7 +54,7 @@ public class TestingBar extends VisualiserMenuBar {
|
||||
TestingServer.checkIntervalSecond = (int) sCheckTime.getValue();
|
||||
if (TestingServer.checkTasks) TestingServer.ResetTimer();
|
||||
});
|
||||
add(new JLabel(" сек") {
|
||||
add(new JLabel(" сек ") {
|
||||
{
|
||||
setFont(Current.getTheme().Fonts.get(VisualiserFonts.TreeItalic));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user