View | Details | Raw Unified
Collapse All | Expand All

(-) Jubler-3.0.0_os/src/com/panayotis/jubler/Main.java (-10 / +1 lines)
 Lines 31-38    Link Here 
import java.awt.event.MouseAdapter;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseEvent;
import javax.swing.JWindow;
import javax.swing.JWindow;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
/**
/**
 *
 *
 Lines 46-59    Link Here 
    public static void main(String args[]) {
    public static void main(String args[]) {
        final MainSplash splash = new MainSplash("/icons/splash.jpg");
        final MainSplash splash = new MainSplash("/icons/splash.jpg");
        
        
        /* Set look and feel */
        SystemDependent.setLookAndFeel();
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch ( ClassNotFoundException e ) {
        } catch ( InstantiationException e ) {
        } catch (IllegalAccessException e) {
        } catch (UnsupportedLookAndFeelException e) {
        }
        
        
        new Jubler();
        new Jubler();
        SystemDependent.initApplication();
        SystemDependent.initApplication();
(-) Jubler-3.0.0_os/src/com/panayotis/jubler/os/SystemDependent.java (+13 lines)
 Lines 187-192    Link Here 
        }
        }
    }
    }
    
    
    public final static void setLookAndFeel() {
    	/*
        try {
            if (isWindows() || isMacOSX()) {
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            }
        } catch ( ClassNotFoundException e ) {
        } catch ( InstantiationException e ) {
        } catch (IllegalAccessException e) {
        } catch (UnsupportedLookAndFeelException e) {
        }
        */
    }
    
    
}
}