Line 1... |
Line 1... |
1 |
/*
|
1 |
/*
|
2 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
2 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
3 |
*
|
3 |
*
|
4 |
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
|
4 |
* Copyright 2011-2019 OpenConcerto, by ILM Informatique. All rights reserved.
|
5 |
*
|
5 |
*
|
6 |
* The contents of this file are subject to the terms of the GNU General Public License Version 3
|
6 |
* The contents of this file are subject to the terms of the GNU General Public License Version 3
|
7 |
* only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
|
7 |
* only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
|
8 |
* copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
|
8 |
* copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
|
9 |
* language governing permissions and limitations under the License.
|
9 |
* language governing permissions and limitations under the License.
|
Line 277... |
Line 277... |
277 |
}
|
277 |
}
|
278 |
|
278 |
|
279 |
final String look = properties.getProperty(UI_LOOK);
|
279 |
final String look = properties.getProperty(UI_LOOK);
|
280 |
final String nimbusClassName = getNimbusClassName();
|
280 |
final String nimbusClassName = getNimbusClassName();
|
281 |
if (look != null && look.equals("flat")) {
|
281 |
if (look != null && look.equals("flat")) {
|
- |
|
282 |
UIManager.put("Table.showHorizontalLines", true);
|
- |
|
283 |
UIManager.put("Table.showVerticalLines", true);
|
- |
|
284 |
UIManager.put("ScrollBar.showButtons", true);
|
- |
|
285 |
UIManager.put("TabbedPane.selectedBackground", Color.white);
|
- |
|
286 |
UIManager.put("TabbedPane.showTabSeparators", true);
|
282 |
FlatLightLaf.install();
|
287 |
FlatLightLaf.install();
|
283 |
} else if (look != null && look.equals("system")) {
|
288 |
} else if (look != null && look.equals("system")) {
|
284 |
useSystemLF();
|
289 |
useSystemLF();
|
285 |
} else if (look != null && look.equals("nimbus")) {
|
290 |
} else if (look != null && look.equals("nimbus")) {
|
286 |
useNimbusLF();
|
291 |
useNimbusLF();
|