Fixed structure of UI, Added some logic to Auth
This commit is contained in:
13
src/main/java/ui/BasePanel.java
Normal file
13
src/main/java/ui/BasePanel.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package ui;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
public abstract class BasePanel extends JPanel {
|
||||
protected Consumer<String> changePanel;
|
||||
|
||||
public BasePanel(Consumer<String> changePanel) {
|
||||
this.changePanel = changePanel;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user