Search:

Type: Posts; User: andreas90

Search: Search took 0.11 seconds.

  1. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    Yoe are welcome. I would try a HashMap with the regular words as keys and the encrypted ones as values. Read the link for further information.
  2. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    The "encrypted" word is set inside every if statement. I talk about the statement
    jtfResult.setText(display + "" + "" + ""); which is BEFORE the if statements.
    The way it is your code now when the...
  3. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    Did you print what is being tested (ie jtfResult.getText())?
    What is the purpose of the statement
    jtfResult.setText(display + "" + "" + "");
    Why don't you test directly the textfield's text?
  4. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    I can see two problems in your code. Firstly, you didn't follow my hint in post #2. Your if statements are wrong. They don't have an error but the semicolon in the end of them is a logic error. Try...
  5. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    Can you show the code you tried? Or better a sample of it that shows the problem and can be executed without errors?
  6. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    Hello maxattack!

    You have some logic errors (probably by mistake).


    if (jtfResult.getText().equals("d"));
    .
    .
    .
Results 1 to 6 of 6