以下用 netbeans 编写的代码显示错误,因为找不到 length()
方法,并将 if.im 反转为 netbeans。请更正我的代码。提前致谢。
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
if(jTextField1.getText().trim().length() == 0 && jPasswordField1.getPassword().length() == 0)
最佳答案
关于Netbeans 中的 Java 编码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18628645/