Search:

Type: Posts; User: Junky

Search: Search took 0.18 seconds.

  1. Replies
    11
    Views
    1,390

    Re: Need help with checking passwords

    Oh and the exact error message
  2. Replies
    11
    Views
    1,390

    Re: Need help with checking passwords

    We don't read minds. Post your code. If it is too long then create a SSCCE.
  3. Replies
    11
    Views
    1,390

    Re: Need help with checking passwords

    As I said you are comparing the button with the String. Perhaps you should get the String that is displayed on the button and compare that instead.
  4. Replies
    11
    Views
    1,390

    Re: Need help with checking passwords

    Object source = (JButton)evt.getSource();
    if (source.equals("8897")) {

    You are comparing the button that caused the event to the String. Obviously this will never be true.
Results 1 to 4 of 4