📄 skyyellotheme.java
字号:
package collector.gui.view;
import javax.swing.*;
import javax.swing.plaf.*; //import com.jgoodies.looks.plastic.theme.SkyYellow;//import com.jgoodies.looks.plastic.theme.SkyYellow;
//import com.jgoodies.looks.plastic.theme.SkyYellow;
import com.jgoodies.looks.*; //import com.jgoodies.looks.plastic.theme.SkyYellow;//import com.jgoodies.looks.plastic.theme.SkyYellow;
//import com.jgoodies.looks.plastic.theme.SkyYellow;
import com.jgoodies.looks.plastic.theme.*;
public class SkyYelloTheme
extends SkyBluer {
static {
UIManager.put(Options.USE_SYSTEM_FONTS_APP_KEY, Boolean.TRUE);
/*
System.setProperty(Options.MENU_FONT_KEY,"宋体-PAINT-12");
System.setProperty(Options.CONTROL_FONT_KEY,"宋体-PAINT-12");
System.setProperty(Options.FONT_SIZE_HINTS_KEY,"宋体-PAINT-12");
System.setProperty(Options.TOOLTIP_FONT_KEY,"宋体-PAINT-12");
System.setProperty(Options.WINDOW_FONT_KEY,"宋体-PAINT-12");
*/
UIManager.put("TabbedPane.selectHighlight",
new ColorUIResource(128, 128, 128));
}
public ColorUIResource getMenuItemSelectedBackground() {
return getPrimary2();
}
protected ColorUIResource getSecondary3() {
return new ColorUIResource(244, 244, 247);
}
public ColorUIResource getFocusColor() {
return getPrimary3();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -