package _VisualDVM.Visual.Windows;
import Common.Visual.FormWithSplitters;
import _VisualDVM.Global;
import _VisualDVM.Visual.Interface.TestsWindow;

import javax.swing.*;
public class TestsForm implements TestsWindow, FormWithSplitters {
    public JSplitPane SC45;
    private JPanel content;
    private JPanel groupsBackground;
    private JPanel groupsPanel;
    private JPanel testsPanel;
    public TestsForm() {
        LoadSplitters();
        Global.testingServer.db.groups.mountUI(groupsPanel);
        Global.testingServer.db.tests.mountUI(testsPanel);
    }
    @Override
    public JPanel getContent() {
        return content;
    }
    @Override
    public void ShowAll() {
        Global.testingServer.db.groups.ShowUI();
    }
}
