摘要: 限制接收的字符 通过setKeyListener限制能接收的字符 edt.setKeyListener(new NumberKeyListener() { @NonNull @Override protected char[] getAcceptedChars() { return new char 阅读全文
posted @ 2022-05-18 17:04 菜鸟工程司 阅读(37) 评论(0) 推荐(0) 编辑