-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHomePopUp.java
More file actions
60 lines (38 loc) · 1.13 KB
/
Copy pathHomePopUp.java
File metadata and controls
60 lines (38 loc) · 1.13 KB
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
56
57
58
59
60
//Dylan Barrett
//Description
//1/7/25
import javax.swing.*;
import javax.swing.event.PopupMenuEvent;
import javax.swing.event.PopupMenuListener;
import java.awt.*;
public class HomePopUp extends JPopupMenu {
private BigDuty bigDuty;
private JTable table;
private HomePanel homePanel;
public HomePopUp(BigDuty bigDuty, JTable table, HomePanel homePanel) {
this.bigDuty = bigDuty;
this.table = table;
this.homePanel = homePanel;
this.addPopupMenuListener(new PopupMenuListener() {
@Override
public void popupMenuWillBecomeVisible(PopupMenuEvent e) {
// table.rowAtPoint(new Point(e))
}
@Override
public void popupMenuWillBecomeInvisible(PopupMenuEvent e) {
}
@Override
public void popupMenuCanceled(PopupMenuEvent e) {
}
});
}
@Override
protected void firePopupMenuWillBecomeVisible() {
super.firePopupMenuWillBecomeVisible();
}
public Teacher getTeacher() {
return null;
}
public void addLockTeacher() {
}
}