Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d4bf38f

Browse files
Added new model with user.
1 parent da89121 commit d4bf38f

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

‎Client_Side/src/Controller/Login_Signup.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
import javafx.scene.input.MouseEvent;
1515
import javafx.scene.layout.Pane;
1616

17+
import java.util.ArrayList;
18+
1719
public class Login_Signup {
1820
public Pane pnSignUp;
1921
public ImageView btnBack;
@@ -37,12 +39,17 @@ public class Login_Signup {
3739
public Button btnSignUp;
3840
public Label loginNotifier;
3941

42+
public static String username, password, gender;
43+
public static ArrayList<User> loggedInUser = new ArrayList<>();
44+
public static ArrayList<User> users = new ArrayList<User>();
4045

4146
public void registration(ActionEvent event) {
47+
4248
}
4349

4450

4551
public void login(ActionEvent event) {
52+
4653
}
4754

4855

‎Client_Side/src/Controller/User.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* @author : Ishara Maduarnga
3+
* Project Name: Multi_Client_Chat_Application
4+
* Date : 8/9/2022
5+
* Time : 11:04 AM
6+
* Year : 2022
7+
*/
8+
9+
package Controller;
10+
11+
public class User {
12+
public String name;
13+
public String fullName;
14+
public String password;
15+
public String email;
16+
public String gender;
17+
public String phoneNo;
18+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /