Changeset 4643


Ignore:
Timestamp:
2003-06-13T14:24:11+12:00 (21 years ago)
Author:
kjdon
Message:

indented some comments, changed teh colours of some stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/Configuration.java

    r4556 r4643  
    267267    try {
    268268        String raw = getString(property, general);
    269                 // Color is a RGB triplet list, comma separated (also remove whitespace)
     269        // Color is a RGB triplet list, comma separated (also remove whitespace)
    270270        StringTokenizer tokenizer = new StringTokenizer(raw, TOKENIZER_PATTERN1);
    271271        int red = Integer.parseInt(tokenizer.nextToken());
     
    302302    try {
    303303        String raw = getString(property, general);
    304                 // Font is a face, style, size triplet.
     304        // Font is a face, style, size triplet.
    305305        StringTokenizer tokenizer = new StringTokenizer(raw, TOKENIZER_PATTERN1);
    306306        String face = tokenizer.nextToken();
     
    357357    String result = "";
    358358    try {
    359                 // First of all we look in the cache to see if we have a match.
     359        // First of all we look in the cache to see if we have a match.
    360360        SoftReference reference = (SoftReference) get(property + general);
    361361        if(reference != null) {
     
    366366        }
    367367        }
    368                 // We may have missed in the cache, or the reference may have been consumed.
     368        // We may have missed in the cache, or the reference may have been consumed.
    369369        if(result.length() == 0) {
    370370        cache_miss++;
     
    600600
    601601    // Editable coloring
    602     UIManager.put("ComboBox.background", new ColorUIResource(getColor("coloring.button_background", false))); // Indicate clickable
     602    UIManager.put("ComboBox.background", new ColorUIResource(getColor("coloring.collection_tree_background", false))); // Indicate clickable
    603603    UIManager.put("Tree.background", new ColorUIResource(getColor("coloring.collection_tree_background", false)));
    604604    UIManager.put("Tree.textBackground", new ColorUIResource(getColor("coloring.collection_tree_background", false)));
    605605    UIManager.put("ProgressBar.background", new ColorUIResource(getColor("coloring.collection_tree_background", false)));
    606606    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)));
    608608    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)));
    610610    // Selection color
    611611    UIManager.put("TabbedPane.selected", new ColorUIResource(getColor("coloring.collection_selection_background", false)));
     
    615615    UIManager.put("TextArea.selectionBackground", new ColorUIResource(getColor("coloring.collection_selection_background", false)));
    616616    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)));
    617618
    618619    // Scroll bar stuff
Note: See TracChangeset for help on using the changeset viewer.