// this code is unable to authenticate user it always give login failed...please help me..!!public String getUserName() { return textName.getText(); } public String getPassword() { return String.valueOf(passField.getPassword()); } public static void main(String[] args) throws TwitterException{ Login lg = new Login(); } public void acc(){ try{ Login lg = new Login(); String userName = lg.getUserName(); String password = lg.getPassword(); Twitter twitter = new Twitter("username", "password"); twitter.verifyCredentials(); JOptionPane.showMessageDialog(null, "Login successful!"); } catch(TwitterException e){ JOptionPane.showMessageDialog(null, "Unable to login"); } }