Added possible crypt password, create repository user implementation, etc...

This commit is contained in:
maciejrusek
2026-04-27 20:14:21 +02:00
parent e5c5670ac5
commit f306606b34
13 changed files with 278 additions and 31 deletions

View File

@@ -19,18 +19,25 @@ public class MyFrame extends JFrame {
JPanel startPanel = new JPanel();
JButton loginButton = new JButton("Login");
JButton registryButton = new JButton("Registry");
startPanel.add(loginButton);
startPanel.add(registryButton);
mainPanel.add(startPanel, "start");
mainPanel.add(LoginPanel.getLoginPanel(), "login");
mainPanel.add(RegistryPanel.getRegistryPanel(), "registry");
loginButton.addActionListener(e -> {
CardLayout cl = (CardLayout)mainPanel.getLayout();
cl.show(mainPanel, "login");
});
add(mainPanel);
registryButton.addActionListener(e -> {
CardLayout cl = (CardLayout)mainPanel.getLayout();
cl.show(mainPanel, "registry");
});
add(mainPanel);
setVisible(true);
}
}