metallookandfeel.java
来自「this gcc-g++-3.3.1.tar.gz is a source fi」· Java 代码 · 共 32 行
JAVA
32 行
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; } };
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?