假如有个密码域是jPasswordField1我要怎么获取里面的内容了?以String返回我使过jPasswordField1.getSelectedText()jPasswordField1.getToolTipText()jPasswordField1.getText()好象都不行了~~!请指点一下~~!谢谢
谢谢~~!我试出来了~~!!String pwd = new String(jPasswordField1.getPassword());将其强制转换就行了~~!!