no message

This commit is contained in:
2024-03-19 02:24:02 +03:00
parent 05097bc22e
commit eaeaee869b
3 changed files with 6 additions and 12 deletions

View File

@@ -53,7 +53,7 @@
</properties>
<border type="none"/>
<children>
<grid id="b29f8" binding="filePanel" layout-manager="BorderLayout" hgap="0" vgap="0">
<grid id="b29f8" binding="fileBackground" layout-manager="BorderLayout" hgap="0" vgap="0">
<constraints>
<splitpane position="left"/>
</constraints>

View File

@@ -37,7 +37,7 @@ public class ProjectForm implements FormWithSplitters, ProjectWindow {
private TreeForm inlineForm2;
private Viewer logText;
private JPanel includesPanel;
private JPanel filePanel;
private JPanel fileBackground;
private JPanel arraysFormPanel;
private JPanel functionsFormPanel;
private JPanel analysisFormPanel;
@@ -151,7 +151,7 @@ public class ProjectForm implements FormWithSplitters, ProjectWindow {
//filesTabs.setTabComponentAt(0,
// new TabToolBar(Current.getFile().name, PassCode_2021.CloseCurrentFile));
// projectTabs.setTitleAt(0, "Файл: " + Current.getFile().name);
filePanel.add((Current.getFile().form = new FileForm(Current.getFile())).getContent());
fileBackground.add((Current.getFile().form = new FileForm(Current.getFile())).getContent());
projectTabs.setTabComponentAt(0,
new TabToolBar("Файл: " + Current.getFile().name, PassCode_2021.CloseCurrentFile) {
@Override
@@ -169,7 +169,7 @@ public class ProjectForm implements FormWithSplitters, ProjectWindow {
projectTabs.setSelectedIndex(0);
}
});
UI.Clear(filePanel);
UI.Clear(fileBackground);
//filesTabs.removeAll();
}
@Override