Changeset 6251


Ignore:
Timestamp:
2003-12-12T17:51:40+13:00 (20 years ago)
Author:
jmt12
Message:

I now explicitly set the look and feel to be the system default - this was while I was trying to figure out why even removing my code for BasicJSeparator rendering resulted in non-Mac separators appearing in the GUI

File:
1 edited

Legend:

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

    r6197 r6251  
    470470    // Thanks to Walter Schatz from the java forums.
    471471    System.setProperty("java.util.prefs.syncInterval","2000000"); // One message every 600 hours!
     472
     473    // Ensure platform specific LAF
     474    try {
     475        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
     476    }
     477    catch(Exception exception) {
     478        exception.printStackTrace();
     479    }
    472480
    473481    Gatherer gatherer = new Gatherer();
Note: See TracChangeset for help on using the changeset viewer.