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
| package Method;
| /**¸ÃÀàÓÃÓÚ»ñÈ¡ÑÕÉ«*/
|
| import java.awt.Color;
| public class GetColor {
| static Color green;
| static Color red;
| static Color red2;
| static Color whiete;
|
| static {
| green=new Color(50,205,50,110);
| red=new Color(255,105,180,110);
| red2=new Color(0,238,238,110);
| whiete=new Color(245,245,220,50);
| }
|
| public static Color getGreen() {
| return green;
| }
|
| public static Color getRed() {
| return red;
| }
|
| public static Color getRed2() {
| return red2;
| }
|
| public static Color getWhiete() {
| return whiete;
| }
|
| }
|
|