-
Notifications
You must be signed in to change notification settings - Fork 0
/
HCanvas.java
49 lines (41 loc) · 966 Bytes
/
HCanvas.java
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
import acm.graphics.*;
public class HCanvas extends GCanvas {
public HCanvas(){
GImage starter = new GImage("home.jpg");
add(starter);
}
public void Home(){
GImage starter = new GImage("home.jpg");
add(starter);
}
public void Unenc(){
GImage starter = new GImage("start.jpg");
add(starter);
}
public void Encrypt(){
GImage starter = new GImage("Encrypt.jpg");
add(starter);
}
public void Eovr(){
GImage starter = new GImage("Eovr.jpg");
add(starter);
}
public void Etovr(int key){
GImage starter = new GImage("Etovr.jpg");
add(starter);
GLabel lb =new GLabel(Integer.toString(key));
add(lb,523,529);
}
public void Decrypt(){
GImage starter = new GImage("Decrypt.jpg");
add(starter);
}
public void StDec(){
GImage starter = new GImage("stdec.jpg");
add(starter);
}
public void Deovr(){
GImage starter = new GImage("Deovr.jpg");
add(starter);
}
}