-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSandTheme.java
More file actions
29 lines (22 loc) · 1.1 KB
/
SandTheme.java
File metadata and controls
29 lines (22 loc) · 1.1 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
import javax.swing.plaf.*;
import javax.swing.plaf.metal.*;
import javax.swing.*;
import javax.swing.border.*;
import java.awt.*;
public class SandTheme extends DefaultMetalTheme {
public String getName() {
return "True Sand";
}
private final ColorUIResource primary1 = new ColorUIResource( 87, 87, 47);
private final ColorUIResource primary2 = new ColorUIResource(159, 151, 111);
private final ColorUIResource primary3 = new ColorUIResource(199, 183, 143);
private final ColorUIResource secondary1 = new ColorUIResource( 111, 111, 111);
private final ColorUIResource secondary2 = new ColorUIResource(159, 159, 159);
private final ColorUIResource secondary3 = new ColorUIResource(231, 215, 183);
protected ColorUIResource getPrimary1() { return primary1; }
protected ColorUIResource getPrimary2() { return primary2; }
protected ColorUIResource getPrimary3() { return primary3; }
protected ColorUIResource getSecondary1() { return secondary1; }
protected ColorUIResource getSecondary2() { return secondary2; }
protected ColorUIResource getSecondary3() { return secondary3; }
}