Browse Source

增加代码说明

master
qggwy 3 years ago
parent
commit
e68007e2d1
  1. 1
      .gitignore
  2. 2
      src/main/java/com/wuzf/swing/demos/SwingSet2.java

1
.gitignore

@ -34,3 +34,4 @@ build/
### VS Code ### ### VS Code ###
.vscode/ .vscode/
/D:/ouput/logs/SwingDemoLog.log

2
src/main/java/com/wuzf/swing/demos/SwingSet2.java

@ -283,7 +283,7 @@ public class SwingSet2 extends JPanel {
UIManager.put("RootPane.setupButtonVisible", false); UIManager.put("RootPane.setupButtonVisible", false);
BeautyEyeLNFHelper.debug = false; BeautyEyeLNFHelper.debug = false;
// BeautyEyeLNFHelper.translucencyAtFrameInactive = false; // BeautyEyeLNFHelper.translucencyAtFrameInactive = false;
BeautyEyeLNFHelper.launchBeautyEyeLNF(); BeautyEyeLNFHelper.launchBeautyEyeLNF(); // 只有Windows下不报错
// UIManager.put("ToolBar.border",new BorderUIResource( // UIManager.put("ToolBar.border",new BorderUIResource(
// new org.jb2011.lnf.beautyeye.ch8_toolbar.BEToolBarUI.ToolBarBorder(UIManager.getColor("ToolBar.shadow"), // new org.jb2011.lnf.beautyeye.ch8_toolbar.BEToolBarUI.ToolBarBorder(UIManager.getColor("ToolBar.shadow"),
// UIManager.getColor("ToolBar.highlight"), new Insets(6, 0, 0, 0)))); // UIManager.getColor("ToolBar.highlight"), new Insets(6, 0, 0, 0))));

Loading…
Cancel
Save