-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserPanel.java
More file actions
19 lines (18 loc) · 812 Bytes
/
Copy pathUserPanel.java
File metadata and controls
19 lines (18 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public class UserPanel
{
public void SelectionsWindow(UserClass user)
{
System.out.println("Welcome " + user.getName() + ", please choose an operation;");
System.out.println("1. Show Inbox");
System.out.println("2. Show Outbox");
System.out.println("3. Send Message");
System.out.println("4. Share Post");
System.out.println("5. Show timeline");
System.out.println("6. Show contact list");
System.out.println("7. Show Notifications");
user.ShowNotifications(); //Bu böyle kullanılmayacak sadece
// 7.seçenek seçilirse bu method çalışacak ona göre implement edilmeli!!!!
// Switch Case bu işe uygun!!!
System.out.println("8. Follow People");
}
}