home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 July / PCpro_2005_07.ISO / files / wintools / FullSync / FullSyncInstaller.exe / Launcher$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  2005-03-08  |  901 b   |  19 lines

  1. import com.birosoft.liquid.LiquidLookAndFeel;
  2. import java.beans.PropertyChangeEvent;
  3. import java.beans.PropertyChangeListener;
  4. import javax.swing.UIManager;
  5.  
  6. class Launcher$1 implements PropertyChangeListener {
  7.    public void propertyChange(PropertyChangeEvent event) {
  8.       Object newLF = event.getNewValue();
  9.       if (!(newLF instanceof LiquidLookAndFeel)) {
  10.          try {
  11.             UIManager.setLookAndFeel(new LiquidLookAndFeel());
  12.          } catch (Exception e) {
  13.             e.printStackTrace();
  14.          }
  15.       }
  16.  
  17.    }
  18. }
  19.