|
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(); |