Created
January 28, 2012 08:40
-
-
Save cat-in-136/1693524 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.sun.java.swing.plaf.windows.WindowsLookAndFeel; | |
public class RedmondLookAndFeel extends WindowsLookAndFeel { | |
public String getDescription() { | |
return "This is " + getName(); | |
} | |
public String getID() { | |
return "RedmondLookAndFeel"; | |
} | |
public String getName() { | |
return "Redmond Look & Feel"; | |
} | |
public boolean isNativeLookAndFeel() { | |
return false; | |
} | |
public boolean isSupportedLookAndFeel() { | |
return true; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.swing.plaf.basic.BasicLookAndFeel; | |
public class VerySimpleLookAndFeel extends BasicLookAndFeel { | |
public String getDescription() { | |
return "This is " + getName(); | |
} | |
public String getID() { | |
return "VerySimpleLookAndFeel"; | |
} | |
public String getName() { | |
return "Very Simple Look & Feel"; | |
} | |
public boolean isNativeLookAndFeel() { | |
return false; | |
} | |
public boolean isSupportedLookAndFeel() { | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment