diff options
author | Bryce McKinlay <bryce@waitaki.otago.ac.nz> | 2002-08-09 04:45:29 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2002-08-09 05:45:29 +0100 |
commit | ef1c32c6371a869dafafe3219cdd1dbeef3c79eb (patch) | |
tree | 7df2d1a62be0d08d79590aecb1eca36f3562d7f9 /libjava/javax | |
parent | df74f0775534ca7341de6d1fd6651eb1ccdd874f (diff) | |
download | gcc-ef1c32c6371a869dafafe3219cdd1dbeef3c79eb.zip gcc-ef1c32c6371a869dafafe3219cdd1dbeef3c79eb.tar.gz gcc-ef1c32c6371a869dafafe3219cdd1dbeef3c79eb.tar.bz2 |
More AWT/Swing merge from GNU Classpath.
From-SVN: r56151
Diffstat (limited to 'libjava/javax')
-rw-r--r-- | libjava/javax/swing/plaf/metal/MetalLookAndFeel.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libjava/javax/swing/plaf/metal/MetalLookAndFeel.java b/libjava/javax/swing/plaf/metal/MetalLookAndFeel.java new file mode 100644 index 0000000..55ccc1e --- /dev/null +++ b/libjava/javax/swing/plaf/metal/MetalLookAndFeel.java @@ -0,0 +1,31 @@ +package javax.swing.plaf.metal; + +import javax.swing.*; +import javax.swing.plaf.*; +import javax.swing.plaf.basic.*; + + +public class MetalLookAndFeel extends LookAndFeel + { + public boolean isNativeLookAndFeel() { return true; } + public boolean isSupportedLookAndFeel() { return true; } + public String getDescription() { return "Metal look and feel"; } + public String getID() { return "MetalLookAndFeel"; } + public String getName() { return "MetalLookAndFeel"; } + + + UIDefaults LAF_defaults; + + public MetalLookAndFeel() + { + } + + public UIDefaults getDefaults() + { + if (LAF_defaults == null) + LAF_defaults = new BasicDefaults(); + + // Returns the default values for this look and feel. + return LAF_defaults; + } + }; |