-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHomeController.java
More file actions
55 lines (32 loc) · 927 Bytes
/
Copy pathHomeController.java
File metadata and controls
55 lines (32 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.carpooling.view;
import java.io.IOException;
import com.carpooling.Main;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.control.Label;
import javafx.scene.control.TabPane;
import javafx.scene.control.TextField;
public class HomeController {
@FXML
private void register() throws IOException {
Main.register();
}
@FXML
private void updateProfile() throws IOException {
ProfileController.usrnm=Main.user.username;
Main.createProfile();
}
@FXML
private void checkStatus() throws IOException {
Main.checkStatus();
}
@FXML
private void logoff() throws IOException {
Main.user=null;
Main.showMainItems();
}
}