Search:

Type: Posts; User: Lora_91

Page 1 of 4 1 2 3 4

Search: Search took 0.31 seconds.

  1. Re: Application reading a Gmail message with Javamail?

    I'm afraid I don't quite follow what you mean, but I fooled around a bit with it using a byte array and I think I got the result I needed:



    InputStream inputStream = p.getInputStream();...
  2. Application reading a Gmail message with Javamail?

    Greetings, and thank you for stopping by!

    I'm working on a application in Java which needs to be able to send and retrieve Gmails, and depending on the received information possibly store some of...
  3. [SOLVED] Re: Converting a SecretKey to String and back again

    After working with the code further, and doing even more searching, I finally found an example that works. I'll see if I can dig into it and get a better understanding of it now that it's finally...
  4. [SOLVED] Re: Converting a SecretKey to String and back again

    I've looked through a number of tutorials throughout the past two weeks, and in every case there was something that ended up not working. Either it was missing code from the tutorial so it wasn't...
  5. [SOLVED] Re: Converting a SecretKey to String and back again

    I'm afraid I haven't been able to make any progress, it feels like it should be so easy to do yet everywhere I look someone has done it differently, and none of the solutions I find seems to work for...
  6. Replies
    7
    Views
    191

    Re: Importing Apache Commons?

    Strange, something is still wrong.

    1: I download the file commons-codec-1.9-bin.zip
    2: I extract the folder to a location where I can easily find it.
    3: I right click the project, go down to...
  7. Replies
    7
    Views
    191

    Re: Importing Apache Commons?

    Hm, no I downloaded these ones: FileUpload - Download Apache Commons FileUpload, tried both the bin and source, but no wonder they didn't work if neither was correct. ^^

    I've downloaded the one...
  8. Replies
    7
    Views
    191

    Re: Importing Apache Commons?

    I'm afraid even that doesn't seem to work, I tried several of the Apache folders, zips, java files, none of it removed the error message.
  9. Replies
    7
    Views
    191

    Importing Apache Commons?

    Hi!

    I've got this annoying error message when trying to import:

    import org.apache.commons.codec.binary.Hex.encodeHex;

    "Import org.apache.commons.codec cannot be resolved", which after...
  10. [SOLVED] Converting a SecretKey to String and back again

    Greetings!

    I'm using the class below to encrypt and decrypt data in my program. It works rather well with the exception that I can't for the mind of me get the recreation of the key to work. When...
  11. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Sorry for the late reply, but it's finally working thanks to all of your help, so I believe you are worthy of a big thank you! =)
  12. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Then how should I go about saving and storing information? Would it work if the .jar file is in a specific folder and the .txt files is in the same folder and use that folder as root?

    Something...
  13. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    No, I want it to refer to within the .jar file, same place the .txt can currently be found when it was extracted together with the rest of the project.



    indaLogin.jar
    Data
    ...
  14. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    It confuses me as how to it can work so well in Eclipse but not outside of it, I have no idea how else to do it.

    With:



    public void saveAdminData() throws IOException
    {
    try...
  15. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Would this be more accurate?

    URL fileName = MainFrame.class.getResource("/data/members/user_" + i + ".txt");

    When used within Eclipse it wouldn't work unless I used "\\" between them for the...
  16. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Unfortunetely I seem to be unable to solve the problem after all, it's as I said similar but not exactly the same.

    Error:

    Microsoft Windows [Version 6.2.9200]
    (c) 2012 Microsoft Corporation....
  17. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    It does not work, it's what I had from the beginning when I posted this thread. =/

    Edit:

    Odd, now it does work... both by opening it by console and double clicking it. I'm noticing some other...
  18. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Aye, I opened the file in winrar and it contains the folders:


    images
    indaSupport.png
    etc
    LoginSystem
    (lots of class files)
    META-INF
    MANIFEST.MF
  19. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Aye, the LoginSystemSource is the source folder.



    ProjectName
    LoginSystemSource
    images
    indaSupport.png

    The LoginSystemSource is the source folder which holds the...
  20. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    LoginSystem (Main package)
    LoginSystemSource (Source folder)
    images (Image folder)
    indaSupport.png

    Would it then perhaps be...
  21. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    I tried removing all of the '/' at the start of every filepath line but still got the same result, same error. =/

    --- Update ---



    Yes, the program works perfectly within Eclipse, but not at...
  22. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Hm, I suppose the end result I get in the way I'm using it is the same as the example you posted, as of currently all of the filepaths the images use is based on String array variables so that the...
  23. [SOLVED] Extracting Eclipse project as runnable java isn't working

    Greetings!

    I've been working quite a bit with a login system the past couple of months and I now have a version that I would like to try "for real" by extracting it as a runnable .jar or .exe...
  24. Replies
    26
    Views
    415

    [SOLVED] Re: Using passwords the right way?

    Ah thanks, and also thank you for all the help you've given me! <3
  25. Replies
    26
    Views
    415

    [SOLVED] Re: Using passwords the right way?

    Sorry, couldn't find any other way to clear/fill it, reading up further on ByteBuffer didn't result in any answers either. =/
Results 1 to 25 of 77
Page 1 of 4 1 2 3 4