01: /*
02: * Copyright 2005 Patrick Gotthardt
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package com.pagosoft.plaf.themes;
17:
18: import com.pagosoft.plaf.PgsTheme;
19:
20: import javax.swing.plaf.ColorUIResource;
21: import java.awt.SystemColor;
22:
23: public class NativeColorTheme extends PgsTheme {
24: public NativeColorTheme() {
25: super ("Native Colors");
26:
27: setPrimary1(new ColorUIResource(SystemColor.activeCaption));
28: setPrimary2(new ColorUIResource(SystemColor.textHighlight));
29: setPrimary3(new ColorUIResource(SystemColor.inactiveCaption));
30: setSecondary1(new ColorUIResource(SystemColor.controlDkShadow));
31: setSecondary2(new ColorUIResource(SystemColor.controlShadow));
32: setSecondary3(new ColorUIResource(SystemColor.control));
33: setWhite(new ColorUIResource(SystemColor.text));
34: setBlack(new ColorUIResource(SystemColor.textText));
35: }
36: }
|