1 | package org.columba.core.gui.themes.plugin;↵ | | 1 | package org.columba.core.gui.themes.plugin;↵
|
|
2 | import javax.swing.UIManager;↵ | | 2 | import javax.swing.UIManager;↵
|
|
|
3 | /**↵ | | 3 | /**↵
|
4 | * @author frd↵ | | 4 | * @author frd↵
|
5 | *↵ | | 5 | *↵
|
6 | * To change the template for this generated type comment go to↵ | | 6 | * To change the template for this generated type comment go to↵
|
7 | * Window>Preferences>Java>Code Generation>Code and Comments↵ | | 7 | * Window>Preferences>Java>Code Generation>Code and Comments↵
|
8 | */↵ | | 8 | */↵
|
9 | public class MotifLookAndFeelPlugin extends AbstractThemePlugin {↵ | | 9 | public class WindowsLookAndFeelPlugin extends AbstractThemePlugin {↵
|
10 | /**↵ | | 10 | /**↵
|
11 | *↵ | | 11 | *↵
|
12 | */↵ | | 12 | */↵
|
13 | public MotifLookAndFeelPlugin() {↵ | | 13 | public WindowsLookAndFeelPlugin() {↵
|
14 | super();↵ | | 14 | super();↵
|
15 | }↵ | | 15 | }↵
|
|
16 | /* (non-Javadoc)↵ | | 16 | /* (non-Javadoc)↵
|
17 | * @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel()↵ | | 17 | * @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel()↵
|
18 | */↵ | | 18 | */↵
|
19 | public void setLookAndFeel() throws Exception {↵ | | 19 | public void setLookAndFeel() throws Exception {↵
|
20 | UIManager.setLookAndFeel(↵ | | 20 | UIManager.setLookAndFeel(↵
|
21 | "com.sun.java.swing.plaf.motif.MotifLookAndFeel");↵ | | 21 | "com.sun.java.swing.plaf.windows.WindowsLookAndFeel");↵
|
22 | } | | 22 | }
|