Двоеточия в счетчиках таблиц. Исправление бага с неотображением версий при загрузке базы.

This commit is contained in:
2023-11-13 17:12:16 +03:00
parent 84f87ca957
commit 7506a41499
13 changed files with 34 additions and 20 deletions

View File

@@ -192,7 +192,7 @@ public class Global {
public static void RefreshUpdatesStatus() {
Components.RefreshUI();
ValidateComponentsStates();
if (UI.HasNewMainWindow())
if (UI.HasMainWindow())
UI.getMainWindow().ShowUpdatesIcon();
}
public static boolean ValidateComponentsStates() {

View File

@@ -15,7 +15,7 @@ public class DataMenuBar extends VisualiserMenuBar {
//-
public DataMenuBar(String dataName, PassCode_2021... passes) {
// Font font = Current.getTheme().Fonts.get(VisualiserFonts.TreeBoldItalic).deriveFont(12.0F);
add(new JLabel(dataName + " "));
add(new JLabel(dataName + " : "));
add(countLabel = new JLabel("?"));
addPasses(passes);
}

View File

@@ -3,6 +3,6 @@ import Common.UI.Menus_2023.DataMenuBar;
import Visual_DVM_2021.Passes.PassCode_2021;
public class ServerSapforsBar extends DataMenuBar {
public ServerSapforsBar() {
super("SAPFOR", PassCode_2021.InstallServerSapfor, PassCode_2021.DeleteServerSapfor);
super("версии SAPFOR", PassCode_2021.InstallServerSapfor, PassCode_2021.DeleteServerSapfor);
}
}

View File

@@ -157,7 +157,7 @@ public class UI {
public static ComponentsForm getComponentsWindow() {
return (ComponentsForm) windows.get(FormType.Components);
}
public static boolean HasNewMainWindow() {
public static boolean HasMainWindow() {
return getMainWindow() != null;
}
public static SearchReplaceForm getSearchReplaceForm() {