Ignore:
Timestamp:
2004-10-08T09:46:12+13:00 (20 years ago)
Author:
mdewsnip
Message:

Replaced all Gatherer.print* with DebugStream.print*.

File:
1 edited

Legend:

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

    r8231 r8236  
    5050import javax.swing.text.*;
    5151import org.greenstone.gatherer.Configuration;
     52import org.greenstone.gatherer.DebugStream;
    5253import org.greenstone.gatherer.Dictionary;
    5354import org.greenstone.gatherer.Gatherer;
     
    229230        catch (Exception cce) {
    230231        // If the component is not a text component ignore the copy command
    231         Gatherer.println(cce.toString());
     232        DebugStream.println(cce.toString());
    232233        }
    233234    }
     
    242243        catch (ClassCastException cce) {
    243244        // If the component is not a text component ignore the cut command
    244         Gatherer.println(cce.toString());
     245        DebugStream.println(cce.toString());
    245246        }
    246247    }
     
    255256        catch (ClassCastException cce) {
    256257        // If the component is not a text component ignore the paste command
    257         Gatherer.println(cce.toString());
     258        DebugStream.println(cce.toString());
    258259        }
    259260    }
     
    475476    }
    476477    catch (Exception e) {
    477         Gatherer.printStackTrace(e);
     478        DebugStream.printStackTrace(e);
    478479        // The GUI failing to build is an app killer
    479480        e.printStackTrace();
     
    727728        }
    728729        catch(Exception error) {
    729                 Gatherer.println("Exception: " + error);
    730                 Gatherer.printStackTrace(error);
     730                DebugStream.println("Exception: " + error);
     731                DebugStream.printStackTrace(error);
    731732        }
    732733        }
     
    769770        }
    770771        catch(Exception error) {
    771             Gatherer.println("Exception: " + error);
    772             Gatherer.printStackTrace(error);
     772            DebugStream.println("Exception: " + error);
     773            DebugStream.printStackTrace(error);
    773774        }
    774775        }
     
    834835    }
    835836    catch(Exception error) {
    836         Gatherer.println("Exception: " + error);
    837         Gatherer.printStackTrace(error);
     837        DebugStream.println("Exception: " + error);
     838        DebugStream.printStackTrace(error);
    838839    }
    839840   
Note: See TracChangeset for help on using the changeset viewer.