阅读背景:

如何检查JTextField只包含大小写字母和' - '使用正则表达式

来源:互联网 

How can I check the JTextField only contains upper and lower case letters and '-' using regex, and then add that to an ArrayList? I've looked all over the place and most places say the same kind of thing, but I can't figure out what I'm missing. Here's the snippet of code that's going wrong:How can I check the JTextField only contains up




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: