|
下面是示例代码: |
public class PlainDocumentFilter extends PlainDocument{ public final static char[] ALPHA_CHARS = { 'A', 'B', |
Swing —— 扩展PlainDocument限制JTextField只能输入字母与数字
最新推荐文章于 2021-08-22 23:42:50 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
|
下面是示例代码: |
public class PlainDocumentFilter extends PlainDocument{ public final static char[] ALPHA_CHARS = { 'A', 'B', |