From ef1c32c6371a869dafafe3219cdd1dbeef3c79eb Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Fri, 9 Aug 2002 04:45:29 +0000 Subject: More AWT/Swing merge from GNU Classpath. From-SVN: r56151 --- .../javax/swing/plaf/metal/MetalLookAndFeel.java | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 libjava/javax/swing/plaf/metal/MetalLookAndFeel.java (limited to 'libjava/javax') 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; + } + }; -- cgit v1.1