1 package net.sf.mmapps.applications.developer.plaf;
2
3 import javax.swing.plaf.ColorUIResource;
4 import javax.swing.plaf.metal.DefaultMetalTheme;
5 /***
6 * minimal theme for MMBase developer based onn
7 * {@url http://www.codeproject.com/useritems/theme.asp}
8 * @author Kees Jongenburger
9 * @version $Id: DeveloperTheme.java,v 1.1.1.1 2004/02/06 08:44:08 keesj Exp $
10 **/
11 public class DeveloperTheme extends DefaultMetalTheme{
12 public String getName() { return "MMBaseDeveloper";};
13 private final ColorUIResource primary1 = new ColorUIResource(0x0, 0x33, 0x99);
14 private final ColorUIResource primary2 = new ColorUIResource(0xD0, 0xDD, 0xFF);
15 private final ColorUIResource primary3 = new ColorUIResource(0x0, 0x99, 0xFF);
16
17 private final ColorUIResource secondary1 = new ColorUIResource(0x6F, 0x6F, 0x6F);
18 private final ColorUIResource secondary2 = new ColorUIResource(0x9F, 0x9F, 0x9F);
19 private final ColorUIResource secondary3 = new ColorUIResource(0x1f, 0x7f, 0xDC);
20
21
22
23 protected ColorUIResource getPrimary1() { return primary1; }
24 protected ColorUIResource getPrimary2() { return primary2; }
25 protected ColorUIResource getPrimary3() { return primary3; }
26
27 protected ColorUIResource getSecondary1() { return secondary1; }
28 protected ColorUIResource getSecondary2() { return secondary2; }
29 protected ColorUIResource getSecondary3() { return secondary3; }
30 }