Search:

Type: Posts; User: maxattack

Search: Search took 0.12 seconds.

  1. Re: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0

    Ill try that, thanks

    --- Update ---

    Didn't seem to work, any other ideas?
  2. Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0

    Hey, im currently making a 3D modeling program in java (its for a game). And, everything was working fine until yesterday. Eclipse shows no errors, and this shouldn't be happening, but I get the
    ...
  3. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    It just gives me errors,


    HashMap hm = new HashMap();
    hm.put("a", new Double(K));
    hm.put("b", new Double(eec));
    hm.put("c", new Double(s));
    hm.put("d", new Double(Ab));
  4. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    Any idea of how to make it work with multiple letters together? The HashMap failed.

    thanks
  5. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    Oh, thanks. It's almost working perfectly, but I still need to make it register words. Should I do an array, or is there a different way? Thanks
  6. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    jtfResult.getText() just locates the text, I have it set to 'setText' to set the 'encrypted' word in its place.
  7. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    Ah, the semicolons were what caused the if else statements.


    Now, it just clears the result.




    import java.awt.BorderLayout;
    import java.awt.Color;
  8. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    Thats the thing, there is no error. Eclipse doesn't report anything. Heres my code -




    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.FlowLayout;
    import...
  9. Replies
    15
    Views
    1,025

    Re: Encrypter not working

    Just tried it, that didn't work either. I may be doing it wrong, but im pretty sure its correct
  10. Replies
    15
    Views
    1,025

    Encrypter not working

    Hey, I need some help with an encrypter.

    I plan on actually making it use an encryption, but for now Im just having it set letters in the place of previous ones (and vice-versa).

    My code that...
Results 1 to 10 of 12