Changeset 4643
- Timestamp:
- 2003-06-13T14:24:11+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Configuration.java
r4556 r4643 267 267 try { 268 268 String raw = getString(property, general); 269 269 // Color is a RGB triplet list, comma separated (also remove whitespace) 270 270 StringTokenizer tokenizer = new StringTokenizer(raw, TOKENIZER_PATTERN1); 271 271 int red = Integer.parseInt(tokenizer.nextToken()); … … 302 302 try { 303 303 String raw = getString(property, general); 304 304 // Font is a face, style, size triplet. 305 305 StringTokenizer tokenizer = new StringTokenizer(raw, TOKENIZER_PATTERN1); 306 306 String face = tokenizer.nextToken(); … … 357 357 String result = ""; 358 358 try { 359 359 // First of all we look in the cache to see if we have a match. 360 360 SoftReference reference = (SoftReference) get(property + general); 361 361 if(reference != null) { … … 366 366 } 367 367 } 368 368 // We may have missed in the cache, or the reference may have been consumed. 369 369 if(result.length() == 0) { 370 370 cache_miss++; … … 600 600 601 601 // Editable coloring 602 UIManager.put("ComboBox.background", new ColorUIResource(getColor("coloring. button_background", false))); // Indicate clickable602 UIManager.put("ComboBox.background", new ColorUIResource(getColor("coloring.collection_tree_background", false))); // Indicate clickable 603 603 UIManager.put("Tree.background", new ColorUIResource(getColor("coloring.collection_tree_background", false))); 604 604 UIManager.put("Tree.textBackground", new ColorUIResource(getColor("coloring.collection_tree_background", false))); 605 605 UIManager.put("ProgressBar.background", new ColorUIResource(getColor("coloring.collection_tree_background", false))); 606 606 UIManager.put("TextArea.background", new ColorUIResource(getColor("coloring.collection_tree_background", false))); 607 UIManager.put("TextField.background", new ColorUIResource(getColor("coloring. collection_tree_background", false)));607 UIManager.put("TextField.background", new ColorUIResource(getColor("coloring.editable", false))); 608 608 UIManager.put("Table.background", new ColorUIResource(getColor("coloring.collection_tree_background", false))); 609 609 UIManager.put("List.background", new ColorUIResource(getColor("coloring.collection_tree_background", false))); 610 610 // Selection color 611 611 UIManager.put("TabbedPane.selected", new ColorUIResource(getColor("coloring.collection_selection_background", false))); … … 615 615 UIManager.put("TextArea.selectionBackground", new ColorUIResource(getColor("coloring.collection_selection_background", false))); 616 616 UIManager.put("TextField.selectionBackground", new ColorUIResource(getColor("coloring.collection_selection_background", false))); 617 UIManager.put("List.selectionBackground", new ColorUIResource(getColor("coloring.collection_selection_background", false))); 617 618 618 619 // Scroll bar stuff
Note:
See TracChangeset
for help on using the changeset viewer.