1 | public class HippoLookAndFeelPlugin extends AbstractThemePlugin {↵ | | 1 | public class WinLAFLookAndFeelPlugin extends AbstractThemePlugin {↵
|
|
2 | /**↵ | | 2 | /**↵
|
3 | * ↵ | | 3 | * ↵
|
4 | */↵ | | 4 | */↵
|
5 | public HippoLookAndFeelPlugin() {↵ | | 5 | public WinLAFLookAndFeelPlugin() {↵
|
6 | super();↵ | | 6 | super();↵
|
|
7 | }↵ | | 7 | }↵
|
|
8 | /*↵ | | 8 | /*↵
|
9 | * (non-Javadoc)↵ | | 9 | * (non-Javadoc)↵
|
10 | * ↵ | | 10 | * ↵
|
11 | * @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel()↵ | | 11 | * @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel()↵
|
12 | */↵ | | 12 | */↵
|
13 | public void setLookAndFeel() throws Exception {↵ | | 13 | public void setLookAndFeel() throws Exception {↵
|
|
14 | UIManager.setLookAndFeel( new se.diod.hippo↵ | | 14 | UIManager.setLookAndFeel(↵
|
| | | 15 | "com.sun.java.swing.plaf.windows.WindowsLookAndFeel");↵
|
| | | 16 | ↵
|
15 | .plaf.HippoLookAndFeel());↵ | | 17 | net.java.plaf.LookAndFeelPatchManager.initialize();↵
|
| | | 18 | ↵
|
16 | UIManager.getLookAndFeelDefaults().put("ClassLoader",↵ | | 19 | UIManager.getLookAndFeelDefaults().put("ClassLoader",↵
|
17 | getClass().getClassLoader()); | | 20 | getClass().getClassLoader());
|