Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 153992 | Differences between
and this patch

Collapse All | Expand All

(-)Jubler-3.0.0_os/src/com/panayotis/jubler/Main.java (-10 / +1 lines)
Lines 31-38 Link Here
31
import java.awt.event.MouseAdapter;
31
import java.awt.event.MouseAdapter;
32
import java.awt.event.MouseEvent;
32
import java.awt.event.MouseEvent;
33
import javax.swing.JWindow;
33
import javax.swing.JWindow;
34
import javax.swing.UIManager;
35
import javax.swing.UnsupportedLookAndFeelException;
36
34
37
/**
35
/**
38
 *
36
 *
Lines 46-59 Link Here
46
    public static void main(String args[]) {
44
    public static void main(String args[]) {
47
        final MainSplash splash = new MainSplash("/icons/splash.jpg");
45
        final MainSplash splash = new MainSplash("/icons/splash.jpg");
48
        
46
        
49
        /* Set look and feel */
47
        SystemDependent.setLookAndFeel();
50
        try {
51
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
52
        } catch ( ClassNotFoundException e ) {
53
        } catch ( InstantiationException e ) {
54
        } catch (IllegalAccessException e) {
55
        } catch (UnsupportedLookAndFeelException e) {
56
        }
57
        
48
        
58
        new Jubler();
49
        new Jubler();
59
        SystemDependent.initApplication();
50
        SystemDependent.initApplication();
(-)Jubler-3.0.0_os/src/com/panayotis/jubler/os/SystemDependent.java (+13 lines)
Lines 187-192 Link Here
187
        }
187
        }
188
    }
188
    }
189
    
189
    
190
    public final static void setLookAndFeel() {
191
    	/*
192
        try {
193
            if (isWindows() || isMacOSX()) {
194
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
195
            }
196
        } catch ( ClassNotFoundException e ) {
197
        } catch ( InstantiationException e ) {
198
        } catch (IllegalAccessException e) {
199
        } catch (UnsupportedLookAndFeelException e) {
200
        }
201
        */
202
    }
190
    
203
    
191
}
204
}
192
205

Return to bug 153992