📄 mybutton.java
字号:
package com.icbcsdc.ddlexp.ui.model;
import java.awt.Color;
import java.awt.Font;
import pv.jfcx.JPVButton;
/**
* @author youhx
* ************************使用说明——使用前必读***********************
* 本Button为全应用Button
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class myButton extends JPVButton
{
private Font myFont=new Font("宋体",Font.PLAIN,12);
public myButton(){
super();
setFont(myFont);
// setFocusRect(false);
// setBackground(null);
// setThreeButtonStates(true);
// setCanKeepPressed(true);
// setImageAlignment(pv.jfcx.JPVButton.TOP);
//
// setFocusRect(false);
// setExtraPoppedUp(true);
// setThreeButtonStates(false);
// setImageAlignment(pv.jfcx.JPVButton.TOP);
}
public myButton(String tx,boolean a)
{
super(tx,a);
setShadowColor(new Color(0xffa0a0a0));
setShadow(1);
setSwitchColorsOnPress(true);
setAureole(true);
setText3DColor(Color.BLUE);
setForeground(Color.yellow);
setBorderStyle(pv.jfcx.JPVButton.VAGUE);
setFont(myFont);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -