Browse Source
Added a file for a login GUI with basic GUI window
remotes/origin/feature/client/make-input-field-buttons-interactive
Added a file for a login GUI with basic GUI window
remotes/origin/feature/client/make-input-field-buttons-interactive
Richard Schmidt
11 months ago
3 changed files with 46 additions and 29 deletions
@ -0,0 +1,28 @@ |
|||
import javax.swing.*; |
|||
import java.awt.event.ActionEvent; |
|||
import java.awt.event.ActionListener; |
|||
import java.util.UUID; |
|||
|
|||
public class SignUpGUI extends JFrame implements ActionListener { |
|||
|
|||
|
|||
public SignUpGUI() { |
|||
setTitle("Sign Up"); |
|||
setSize(300, 200); |
|||
setDefaultCloseOperation(EXIT_ON_CLOSE); |
|||
setLayout(null); |
|||
|
|||
|
|||
} |
|||
|
|||
@Override |
|||
public void actionPerformed(ActionEvent e) { |
|||
} |
|||
|
|||
public static void main(String[] args) { |
|||
SwingUtilities.invokeLater(() -> { |
|||
SignUpGUI signUpGUI = new SignUpGUI(); |
|||
signUpGUI.setVisible(true); |
|||
}); |
|||
} |
|||
} |
@ -1,26 +1,14 @@ |
|||
[ |
|||
{ |
|||
"id": "48728bbb-b924-48ce-aac0-3e38d6c7878e", |
|||
"userName": "Test User", |
|||
"password": "TestPasswort", |
|||
"birthday": "01.01.1900" |
|||
}, |
|||
{ |
|||
"id": "bacd2bf9-9486-4cc3-92fe-9a24b5cf47a4", |
|||
"userName": "Test User", |
|||
"password": "TestPasswort", |
|||
"birthday": "01.01.1900" |
|||
}, |
|||
{ |
|||
"id": "15474da8-c2cd-4c1c-ba57-cd1b8657140e", |
|||
"userName": "Test User", |
|||
"password": "TestPasswort", |
|||
"birthday": "01.01.1900" |
|||
"id": "f9cd70c1-57cd-4943-a00b-0de521347aff", |
|||
"userName": "asd", |
|||
"password": "test1234", |
|||
"birthday": "01.01.2000" |
|||
}, |
|||
{ |
|||
"id": "be83e49a-bb17-4be2-a50f-0b846d7de3ea", |
|||
"userName": "Another Test User", |
|||
"password": "TestPasswort123", |
|||
"birthday": "01.01.2000" |
|||
"id": "69e4b1d3-3089-4f98-936f-865dfe40e6a0", |
|||
"userName": "asd", |
|||
"password": "test1234", |
|||
"birthday": "01.01.2013" |
|||
} |
|||
] |
Write
Preview
Loading…
Cancel
Save
Reference in new issue