aboutsummaryrefslogtreecommitdiff
path: root/src/main/ui/MainUI.java
blob: ee35a53d888ceb213a23b9a3abbf02bfafd53620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package ui;

import javax.swing.*;

public class MainUI {
    private JTabbedPane tabbedPane;
    private JPanel rootPanel;
    private JList listTemplates;
    private JList listCertificates;
    private JList listLogs;
    private JLabel labelStatus;
    private JButton buttonSave;

    public JFrame createWindow() {
        final JFrame frame = new JFrame("JCA");
        frame.setContentPane(this.rootPanel);
        frame.setVisible(true);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        return frame;
    }
}