@ -62,6 +62,10 @@ public class AlphaFineTextField extends UITextField {
this.image = image;
}
/**
* 添加键盘监听器
* @param component
*/
public void initKeyListener(Component component) {
addKeyListener(new KeyAdapter() {
@Override
@ -130,6 +130,10 @@ public class AlphafineConfigManager implements XMLable {
return shortcuts;
* 返回默认快捷键
* @return
private String getDefaultShortCuts() {
return OperatingSystem.isMacOS()? "meta + F" : "ctrl + F";